only draw circle (and not also a point) when asked
This commit is contained in:
parent
57d1032fef
commit
e7b41e000d
@ -1,5 +1,6 @@
|
|||||||
### Change Log for Node-RED Worldmap
|
### Change Log for Node-RED Worldmap
|
||||||
|
|
||||||
|
- v2.3.1 - Stop adding point when you add a circle
|
||||||
- v2.3.0 - Add colour options for drawing layer
|
- v2.3.0 - Add colour options for drawing layer
|
||||||
- v2.2.1 - Better implementation of legend create/show/hide
|
- v2.2.1 - Better implementation of legend create/show/hide
|
||||||
- v2.2.0 - Add rangering arcs function
|
- v2.2.0 - Add rangering arcs function
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-web-worldmap",
|
"name": "node-red-contrib-web-worldmap",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cgi": "0.3.1",
|
"cgi": "0.3.1",
|
||||||
|
@ -1095,6 +1095,8 @@ function setMarker(data) {
|
|||||||
polycirc = L.circle(new L.LatLng((data.lat*1), (data.lon*1)), data.radius*1, opt);
|
polycirc = L.circle(new L.LatLng((data.lat*1), (data.lon*1)), data.radius*1, opt);
|
||||||
}
|
}
|
||||||
polygons[data.name] = polycirc;
|
polygons[data.name] = polycirc;
|
||||||
|
delete (data.lat);
|
||||||
|
delete (data.lon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (data.hasOwnProperty("arc")) {
|
else if (data.hasOwnProperty("arc")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user