undo overzealous tidy, ready to publish

This commit is contained in:
Dave Conway-Jones 2019-04-21 18:47:18 +01:00
parent 604a7a41d9
commit c86f47708c
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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);
}); });