To create a new geofence, click Tools->Geofencing->Add geofence. Type in geofence name and select it's color, then click on the map to begin drawing geofence. When you finish drawing geofence, duoble click the last point and click Save.



Once geofence is created you can view them all on the list and edit anytime.




IMPORT AND EXPORT - To import or export geofence click the button with a gear icon:



For export single, by groups, active and inactive geofences can be selected:




Export is saved in .gexp file.

For import only .gexp file can be used. 

.GEXP FILE STRUCTURE

It is a simple text file that has following structure.

Example (single):

{"groups":[],"geofences":[{"id":1130,"group_id":0,"name":"vn","coordinates":"[{\"lat\":48.108348176168,\"lng\":14.284973144531},{\"lat\":48.111099041065,\"lng\":14.403076171875},{\"lat\":48.035855735787,\"lng\":14.400329589844}]","polygon_color":"#a34949"}]}

Format:

"groups" - name of the group geofence belongs. Emtpy [ ] means ungrouped.

"geofences" - list of geofences. Inside it requires "id", "group_id", "name" and "coordinates" to be filled. "Coordinates" requires a list of "lat" and "lng" of coordinates to be filled.

"polygon_color" - color in html hex code.