mapbox-gl-shadow-simulator 0.54.2 → 0.54.4

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.
@@ -55,6 +55,7 @@ interface ShadeMapOptions {
55
55
  dsmSource?: DSMSource;
56
56
  getFeatures?: () => Promise<MapboxGeoJSONFeature[]>;
57
57
  apiKey: string;
58
+ getSize?: () => { width: number, height: number };
58
59
  debug?: (msg: string) => void;
59
60
  }
60
61
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright Ted Piotrowski 2024
3
3
  * Package: mapbox-gl-shadow-simulator
4
- * Version: 0.54.2
4
+ * Version: 0.54.4
5
5
  * For licensing visit: https://shademap.app/about/
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright Ted Piotrowski 2024
3
3
  * Package: mapbox-gl-shadow-simulator
4
- * Version: 0.54.2
4
+ * Version: 0.54.4
5
5
  * For licensing visit: https://shademap.app/about/
6
6
  */
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapbox-gl-shadow-simulator",
3
- "version": "0.54.2",
3
+ "version": "0.54.4",
4
4
  "description": "Display terrain and structure shadows cast by the sun in a custom style layer",
5
5
  "main": "dist/mapbox-gl-shadow-simulator.umd.min.js",
6
6
  "browser": "dist/mapbox-gl-shadow-simulator.umd.min.js",