This commit is contained in:
Dave Conway-Jones 2017-09-06 14:39:14 +01:00
parent d7cef80daa
commit 7f33169333
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
4 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,7 @@ map web page for plotting "things" on.
![Map Image](https://dceejay.github.io/pages/images/redmap.png)
### Changes
- v1.1.2 - typo
- v1.1.1 - fix adding layer to embedded map in iframe
- v1.1.0 - Move to sockjs (smaller than socket.io). Remove layers that are no longer served for free, Issue #24. Remove polygons as well as markers on timeout.
- v1.0.35 - Try to better center fa-icon and remove black square (Windows) - Issue #25

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-contrib-web-worldmap",
"version" : "1.1.1",
"version" : "1.1.2",
"description" : "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies" : {
"express": "^4.15.0",

View File

@ -961,7 +961,7 @@ function setMarker(data) {
else if (data.icon === "earthquake") {
marker = L.marker(ll, { icon: L.divIcon({ className: 'circle e', iconSize: [data.mag*5, data.mag*5] }), title: data.name });
}
else if (data.icon && (data.icon.substr(0,3) === "fa-") {
else if (data.icon && (data.icon.substr(0,3) === "fa-")) {
var col = data.iconColor || "#910000";
myMarker = L.divIcon({
className: data.icon,

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# date: Sep 6th 2017 - v1.1.1
# date: Sep 6th 2017 - v1.1.2
CACHE:
index.html