@sswroom/sswr 1.6.15 → 1.6.16

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.
Files changed (3) hide show
  1. package/Changelog +3 -0
  2. package/leaflet.js +1 -1
  3. package/package.json +1 -1
package/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 1.6.16
2
+ -Fixed leaflet point icon
3
+
1
4
  1.6.15
2
5
  -shreadsheet Support Chart
3
6
  -Added web.getCanvasElement, web.getImgElement
package/leaflet.js CHANGED
@@ -179,7 +179,7 @@ export function createFromGeometry(geom, options)
179
179
  {
180
180
  if (options.name)
181
181
  opt.title = options.name;
182
- if (options.icon && options.icon.iconUrl)
182
+ if (options.icon && options.icon.options.iconUrl)
183
183
  opt.icon = options.icon;
184
184
  }
185
185
  return L.marker(L.latLng(geom.coordinates[1], geom.coordinates[0]), opt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sswroom/sswr",
3
- "version": "1.6.15",
3
+ "version": "1.6.16",
4
4
  "description": "Libraries made by sswroom",
5
5
  "main": "sswr.js",
6
6
  "scripts": {