diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c677b..1798f8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### Change Log for Node-RED Worldmap + - v2.0.8 - Drop beta flag, re-organise index, js and css files. Now using leaflet 1.4 - v2.0.7-beta - Switch Ruler control to be independent of Draw library. - v2.0.6-beta - Re-enable editing of draw layer, add rectangles to lines and areas. Make individual objects editable. - v2.0.5-beta - Fix clustering on zoom (update old library) diff --git a/README.md b/README.md index 299a8e8..c7a8c68 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ map web page for plotting "things" on. ### Updates +- v2.0.8 - Drop beta flag, re-organise index, js and css files. Now using leaflet 1.4 - v2.0.7-beta - Switch Ruler control to be independent of Draw library. - v2.0.6-beta - Re-enable editing of draw layer, add rectangles to lines and areas. Make individual objects editable. - v2.0.5-beta - Fix clustering on zoom (update old library) diff --git a/package.json b/package.json index f8b2c8e..398255c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "2.0.7-beta", + "version": "2.0.8", "description": "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies": { "cgi": "0.3.1", diff --git a/worldmap/css/map.css b/worldmap/css/worldmap.css similarity index 89% rename from worldmap/css/map.css rename to worldmap/css/worldmap.css index cdd62f0..2f6c4f8 100644 --- a/worldmap/css/map.css +++ b/worldmap/css/worldmap.css @@ -1,5 +1,6 @@ body { width:100%; + height:100%; left:0px; margin:0; padding:0; @@ -21,25 +22,6 @@ a { text-decoration:none; } -dialog { - top: 50px; - z-index: 9999; - width: 60% !important; - border-radius: 4px !important; - border-width: 0px !important; - line-height: 1.4em !important; - box-shadow: 0 1px 5px rgba(0,0,0,0.65) !important; -} -dialog > p > b { - font-size: unset; -} -dialog > button { - margin-top: 6px; - height: 24px; - border-radius: 4px; - font-weight: 500; -} - .topbar { font-size:16px; vertical-align:middle; @@ -49,6 +31,11 @@ dialog > button { padding: 1px 4px !important; } +.leaflet-touch .leaflet-control-layers-toggle { + width:35px; + height:35px; +} + #topbar { color:#c7c7c7; background-color:black; @@ -82,11 +69,11 @@ dialog > button { display:block; } -#foot { +#footer { position:absolute; bottom:0px; left:-1px; - z-index:1; + z-index:999; font-size:9px; } diff --git a/worldmap/index.html b/worldmap/index.html index 8fadc9f..0892066 100644 --- a/worldmap/index.html +++ b/worldmap/index.html @@ -21,56 +21,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - +
NRed Node-RED - map all the things @@ -79,1932 +35,10 @@
- +
- + - -

Node-RED - Map all the things


-

Search - You may enter a name, or partial name, or icon name of an object to search for. - The map will then jump to centre on each of the results in turn. If nothing is found locally it will try to - search for a place name if connected to a network.

-

Set Max Age - You can set the time after which points - that haven't been updated get removed.

-

Cluster at zoom - lower numbers mean less clustering. 0 means disable totally.

-

Auto Pan - When selected, the map will - automatically move to centre on each data point as they arrive.

-

Lock Map - When selected will save the - currently displayed area and basemap. - Reloading the map in the current browser will return to the same view. - This can be used to set your initial start position. - While active it also restricts the "auto pan" and "search" to within that area.

-

Heatmap all layers - When selected - all layers whether hidden or not will contribute to the heatmap. - The default is that only visible layers add to the heatmap.

- -
- - + diff --git a/worldmap/index3d.html b/worldmap/index3d.html index 1db6b82..8fb5bf3 100644 --- a/worldmap/index3d.html +++ b/worldmap/index3d.html @@ -17,7 +17,7 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +