react-globe.gl 2.36.0 → 2.37.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/README.md CHANGED
@@ -138,6 +138,10 @@ ReactDOM.render(
138
138
  | <b>onGlobeClick</b> | <i>func</i> | *-* | Callback function for (left-button) clicks on the globe. The clicked globe coordinates and the event object are included as arguments: `onGlobeClick({ lat, lng }, event)`. |
139
139
  | <b>onGlobeRightClick</b> | <i>func</i> | *-* | Callback function for right-clicks on the globe. The clicked globe coordinates and the event object are included as arguments: `onGlobeRightClick({ lat, lng }, event)`. |
140
140
 
141
+ | Method | Arguments | Description |
142
+ | --- | :--: | --- |
143
+ | <b>globeTileEngineClearCache</b> | *-* | Clear the tile engine cache. |
144
+
141
145
  ### Points Layer
142
146
 
143
147
  <p align="center">
@@ -310,6 +310,9 @@ interface GlobeMethods {
310
310
  getScreenCoords(lat: number, lng: number, altitude?: number): ScreenCoords;
311
311
  toGeoCoords(coords: CartesianCoords): GeoCoords;
312
312
  toGlobeCoords(x: number, y: number): { lat: number, lng: number} | null;
313
+
314
+ // Other
315
+ globeTileEngineClearCache(): GlobeInstance;
313
316
  }
314
317
 
315
318
  type FCwithRef<P = {}, R = {}> = React.FunctionComponent<P & { ref?: React.MutableRefObject<R | undefined> }>;