node-red-contrib-web-worldmap 2.33.0 → 2.34.0

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 CHANGED
@@ -1,5 +1,6 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
+ - v2.34.0 - Let icon "url" be a local fixed path (PR #223)
3
4
  - v2.33.0 - Let shapes create click event. (from PR #221)
4
5
  Fix heatmap delete point bug. Issue #222
5
6
  - v2.32.3 - Fix map split in iframe position
package/README.md CHANGED
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
+ - v2.34.0 - Let icon "url" be a local fixed path (PR #223)
14
15
  - v2.33.0 - Let shapes create click event. (from PR #221)
15
16
  Fix heatmap delete point bug. Issue #222
16
17
  - v2.32.2 - Fix map split in iframe position
@@ -25,14 +26,6 @@ map web page for plotting "things" on.
25
26
  - v2.30.2 - Fix for bad handling of mapbox id. Issue #208
26
27
  - v2.30.1 - Don't resend bounds if not changed. Issue #209
27
28
  - v2.30.0 - Add show/hide ruler option. PR #206
28
- - v2.29.0 - Change locate to be a toggle and add command (trackme) to set style. Issue #202
29
- - v2.28.3 - Let button declaration be an array
30
- - v2.28.1 - Fix layer command bug for non-core layers. Issue #195
31
- - v2.28.0 - Better Handling of sidc icons in geojson
32
- - v2.27.3 - Try to handle greatcircles crossing antimeridian
33
- - v2.27.1 - Reload existing markers for late joiners
34
- - v2.26.1 - Add QTH/Maidenhead option also
35
- - v2.26.0 - Add UTM and MGRS to coordinate display options.
36
29
 
37
30
  - see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for full list of changes.
38
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.33.0",
3
+ "version": "2.34.0",
4
4
  "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
5
5
  "dependencies": {
6
6
  "@turf/bezier-spline": "~6.5.0",
@@ -1793,7 +1793,7 @@ function setMarker(data) {
1793
1793
  marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
1794
1794
  labelOffset = [12,-4];
1795
1795
  }
1796
- else if (data.icon.match(/^https?:.*$/)) {
1796
+ else if (data.icon.match(/^https?:.*$|^\//)) {
1797
1797
  var sz = data.iconSize ?? 32;
1798
1798
  myMarker = L.icon({
1799
1799
  iconUrl: data.icon,