• dev
  • Geofence Creation for devices Outside Flespi

Hello,
We've decided to create a asset management system using flespi with tracking capabilities.
Ive needed to enable the client to create Geofences using our dashboard which is been written in html css and js.
How can I create geofences in google maps, Any guidance will be greatly appreciated.

Thanks

    Hello dexif

    Can we assign the devices we created on flespi to the map view too ?

    Thank you.

      Unfortunately this is not possible. Mapview was designed to be a simple tool for displaying any data on the map. It does not perform requests to the flespi service. You can only manipulate the data on the mapview using commands (playground) sent from the page where the mapview is embedded.

        how can i pass cordinates to the map view to represent a device?

          cooli4enko85 changed the title to Geofence Creation for devices Outside Flespi.
            4 days later

            Hello,
            How can I create geofences in google maps, and how to add a device to it and track the devices details according to it's movment. ???

              I have the geofence coordinates and I want to push them to the flespi api.
              how can i create a geofence through the flespi REST API shal dexif

                can you show me a demo code to post a geofence using javascript
                @dexif

                  AdityaRatnayaka It should be easy for you, just navigate to https://flespi.io/gw/#/gw/calculators/post_calcs, click on ADD OBJECT, click on ADD SELECTORS, type Geofences and click on ADD GEOFENCE. You will have a map by mouse click it you may construct the geofence.

                  After that look at the JSON payload of your request, at the bottom.

                    Write a Reply...