undo overzealous tidy, ready to publish
This commit is contained in:
parent
604a7a41d9
commit
c86f47708c
@ -1,5 +1,6 @@
|
|||||||
### Change Log for Node-RED Worldmap
|
### Change Log for Node-RED Worldmap
|
||||||
|
|
||||||
|
- v1.5.40 - Only enable on.location function when not in an iframe. Tidy html.
|
||||||
- v1.5.39 - Add weather-lite icons
|
- v1.5.39 - Add weather-lite icons
|
||||||
- v1.5.38 - Add Esri dark grey and ocean, re-add hikebike, layers
|
- v1.5.38 - Add Esri dark grey and ocean, re-add hikebike, layers
|
||||||
- v1.5.37 - Add .trackpoints to override default number in tracks node. Let tracks optionally be on different layers. Fix marker changing layers Issue #85
|
- v1.5.37 - Add .trackpoints to override default number in tracks node. Let tracks optionally be on different layers. Fix marker changing layers Issue #85
|
||||||
|
@ -9,6 +9,7 @@ map web page for plotting "things" on.
|
|||||||
|
|
||||||
### Updates
|
### Updates
|
||||||
|
|
||||||
|
- v1.5.40 - Only enable on.location function when not in an iframe. Tidy html.
|
||||||
- v1.5.39 - Add weather-lite icons
|
- v1.5.39 - Add weather-lite icons
|
||||||
- v1.5.38 - Add Esri dark grey and ocean, re-add hikebike, layers
|
- v1.5.38 - Add Esri dark grey and ocean, re-add hikebike, layers
|
||||||
- v1.5.37 - Add .trackpoints to override default in tracks node. Let tracks optionally be on different layers. Fix marker changing layers Issue #85
|
- v1.5.37 - Add .trackpoints to override default in tracks node. Let tracks optionally be on different layers. Fix marker changing layers Issue #85
|
||||||
|
@ -837,7 +837,7 @@ map.on('draw:created', function (e) {
|
|||||||
var layer = e.layer;
|
var layer = e.layer;
|
||||||
//console.log(type, layer._latlngs);
|
//console.log(type, layer._latlngs);
|
||||||
//console.log(JSON.stringify(layer.toGeoJSON()));
|
//console.log(JSON.stringify(layer.toGeoJSON()));
|
||||||
ws.send(JSON.stringify({action:"draw" type:type, points:layer._latlngs}));
|
ws.send(JSON.stringify({action:"draw", type:type, points:layer._latlngs}));
|
||||||
layers["_drawing"].addLayer(layer);
|
layers["_drawing"].addLayer(layer);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user