How should i implement the Geo-Fence in the another component

i’m giving the UI changes to the QGC using qml and I’m trying to implement the geo-fence in another component or in a separate distinguished way to use it in the QGC. how should I take geo-fence functionality or the component to implement. so please guide me with this…to understand the implementing procedure.