diff --git a/CHANGELOG.md b/CHANGELOG.md index b493851..1b9dc48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 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.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 diff --git a/README.md b/README.md index 8d41c47..e7759c4 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ map web page for plotting "things" on. ### 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.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 diff --git a/worldmap/index.html b/worldmap/index.html index 44725d3..d17cc34 100644 --- a/worldmap/index.html +++ b/worldmap/index.html @@ -837,7 +837,7 @@ map.on('draw:created', function (e) { var layer = e.layer; //console.log(type, layer._latlngs); //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); });