plantquest / plantquest-assetmap

PlantQuest Web SDK for Asset Mapping
MIT License
2 stars 2 forks source link

Geofencing #2

Open Crebhan opened 1 year ago

Crebhan commented 1 year ago

Add Geofencing capabilities to SDK

Create & Delete As a user I need the ability to draw geofences ontop of the map on demand So that I can identify specefic areas of concern And I also need the ability to delete the geofence on demand

Name Geofence As a user Upon drawing a geofence, I need the ability to name the geofence So that everyone knows the conext/name of the geofence And I need the ability to change the geofences name on demand

Assign Colour As a user When I have drawn a geofence I need the ability to assign a colour to the geofence And change its opacity So that I can understand what geofence it is at a glance

Geofences are to auto appear/disapear based on the zoom level in a simlar manner to the room/area tags appearing/hiding in issue 27

https://leaflet.github.io/Leaflet.Editable/example/index.html

Crebhan commented 1 year ago

Done within Dev Mgmt Portal

When the user is drawing or editing (name or shape) geofences, the room polygons are turned off allowing them to easily draw and select new and existing geofences. Every geofences drawn appears on the map on the users end

Crebhan commented 1 year ago

This is what was outlined in the scope of work: o Provision of an admin platform where: i. Users can draw, delete and amend geofences. ii. Geofence names can be changed on demand.