Maps widget with a circle around the location
Dear all,
I had to draw a circle around the device last location and did some workaround:
1. added a variable to the payload, "range" as a fence format:
{
"value": "Range: 36.75",
"location": {
"type": "Point",
"coordinates": [
-46.63629,
-23.595664
]
},
"metadata": {
"event": "Accuracy: 36.75",
"eventColor": "black",
"geolocation": {
"type": "Point",
"radius": 36.75,
"coordinates": [
-23.595664,
-46.63629
]
}
}
}
2. Changed geofence options in the widget to show only one value for the "range" variable.
Then the result is this:
Would be nice if the map widget have this feature (location.radius or metadata.radius or metadata.geolocation.radius ) on the variable without adding a new variable to simulate it.
Color option and a button to switch on/off the view also would be welcome.
Thanks in advance