mapbox-gl-shadow-simulator 0.13.9 → 0.13.10

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.
@@ -1,4 +1,4 @@
1
- import { MapboxGeoJSONFeature } from 'mapbox-gl';
1
+ import { Map, MapboxGeoJSONFeature } from 'mapbox-gl';
2
2
 
3
3
  interface TerrainSource {
4
4
  maxZoom: number;
@@ -32,6 +32,7 @@ declare class export_default {
32
32
  setColor(color: string): this;
33
33
  setOpacity(opacity: number): this;
34
34
  readPixel(x: number, y: number): Uint8Array;
35
+ addTo(map: Map): this;
35
36
  }
36
37
 
37
38
  export { export_default as default };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright Ted Piotrowski 2022
3
3
  * Package: mapbox-gl-shadow-simulator
4
- * Version: 0.13.8
4
+ * Version: 0.13.10
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.13.9",
3
+ "version": "0.13.10",
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
  "types": "dist/mapbox-gl-shadow-simulator.d.ts",