mapbox-gl-shadow-simulator 0.13.13 → 0.13.14

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/README.md CHANGED
@@ -188,6 +188,7 @@ Takes `map` as an argument and returns a GeoJSON collection of features whose sh
188
188
 
189
189
  ```javascript
190
190
  getFeatures: () => {
191
+ // wait for map.loaded() to ensure all vector tile data downloaded
191
192
  const buildingData = map.querySourceFeatures('composite', { sourceLayer: 'building' }).filter((feature) => {
192
193
  return feature.properties && feature.properties.underground !== "true" && (feature.properties.height || feature.properties.render_height)
193
194
  });
@@ -45,4 +45,4 @@ declare class export_default extends EventEmitter {
45
45
  addTo(map: Map): this;
46
46
  }
47
47
 
48
- export { export_default as default };
48
+ export { export_default as default, ShadeMapOptions };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Copyright Ted Piotrowski 2022
3
3
  * Package: mapbox-gl-shadow-simulator
4
- * Version: 0.13.13
4
+ * Version: 0.13.14
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.13",
3
+ "version": "0.13.14",
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",