parent
e68f71d9c1
commit
7ce853145a
@ -1,6 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v1.5.12 - Send click message to websocket on marker click - Issue #56
|
||||
- v1.5.13 - Send click message to websocket on marker click - Issue #56, #57
|
||||
- v1.5.11 - Let search also try geocoding lookup if not found in marks.
|
||||
- v1.5.10 - Allow latest mark added to open popup, and allow `popped=false` to close.
|
||||
- v1.5.7 - Tidy up sidc entry, and drag-ability of nodes on drawing layer.
|
||||
|
@ -9,7 +9,7 @@ map web page for plotting "things" on.
|
||||
|
||||
### Updates
|
||||
|
||||
- v1.5.12 - Send click message to websocket on marker click - Issue #56
|
||||
- v1.5.13 - Send click message to websocket on marker click - Issue #56, #57
|
||||
- v1.5.11 - Let search also try geocoding lookup if not found in marks.
|
||||
- v1.5.10 - Allow latest mark added to open popup, and allow `popped=false` to close.
|
||||
- v1.5.7 - Tidy up sidc entry, and drag-ability of nodes on drawing layer.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "1.5.12",
|
||||
"version": "1.5.13",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"cgi": "0.3.1",
|
||||
|
@ -1184,6 +1184,7 @@ function setMarker(data) {
|
||||
});
|
||||
marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
|
||||
}
|
||||
marker.name = data.name;
|
||||
|
||||
// var createLabelIcon = function(labelText) {
|
||||
// return L.marker(new L.LatLng(51.05, -1.35), {icon:L.divIcon({ html:labelText })});
|
||||
@ -1191,7 +1192,6 @@ function setMarker(data) {
|
||||
|
||||
// send new position at end of move event if point is draggable
|
||||
if (data.draggable === true) {
|
||||
marker.name = data.name;
|
||||
if (data.icon) { marker.icon = data.icon; }
|
||||
if (data.iconCOlor) { marker.iconColor = data.iconColor; }
|
||||
if (data.SIDC) { marker.SIDC = data.SIDC.toUpperCase(); }
|
||||
|
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# date: Nov 9th 2018 - v1.5.12
|
||||
# date: Nov 9th 2018 - v1.5.13
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
|
Loading…
Reference in New Issue
Block a user