node-red-contrib-web-worldmap 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/README.md +4 -3
- package/package.json +1 -1
- package/worldmap/leaflet/milsymbol.js +6 -6
- package/worldmap/ml3d.html +3377 -0
- package/worldmap/worldmap.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v4.6.2 - Fix multiple use of contextmenu feedback. Issue #259
|
|
3
4
|
- v4.6.1 - let default pmtiles be light/dark or monocolored.
|
|
4
5
|
- v4.5.2 - Tidy up when pmtiles removed.
|
|
5
6
|
- v4.5.0 - Fix pmtiles to look for maps in userdir rather than modules.
|
package/README.md
CHANGED
|
@@ -13,7 +13,8 @@ Feel free to [ drone icon.
|
|
@@ -739,13 +740,13 @@ The `maxDataZoom` should match the maximum zoom level in you pmtiles file(s) - w
|
|
|
739
740
|
|
|
740
741
|
You can also load them dynamically with a command like
|
|
741
742
|
|
|
742
|
-
msg.payload = {"command":{"map":{"name":"MyMap", "pmtiles":"/path/to/mymap.pmtiles", "opt":
|
|
743
|
+
msg.payload = {"command":{"map":{"name":"MyMap", "pmtiles":"/path/to/mymap.pmtiles", "opt":myOptionsObject}}}
|
|
743
744
|
|
|
744
745
|
Where `opt` can be as per the options file mentioned above - or omitted completely.
|
|
745
746
|
|
|
746
747
|
### Using a Docker Map Server
|
|
747
748
|
|
|
748
|
-
I have found the easiest to use mapserver for decent generic map to be Tileserver-gl. It uses mbtiles format maps - for example from [MapTiler Data](https://data.maptiler.com/downloads/planet/). You can download your mbtiles file into a directory and then from that directory run
|
|
749
|
+
I have found the easiest to use mapserver for a decent generic map to be Tileserver-gl. It uses mbtiles format maps - for example from [MapTiler Data](https://data.maptiler.com/downloads/planet/). You can download your mbtiles file into a directory and then from that directory run
|
|
749
750
|
```
|
|
750
751
|
docker run --name maptiler -d -v $(pwd):/data -p 1884:8080 maptiler/tileserver-gl -p 8080 --mbtiles yourMapFile.mbtiles
|
|
751
752
|
```
|
package/package.json
CHANGED