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 +4 -0
- package/dist/react-globe.gl.d.ts +3 -0
- package/dist/react-globe.gl.js +4631 -1594
- package/dist/react-globe.gl.js.map +1 -1
- package/dist/react-globe.gl.min.js +4 -4
- package/dist/react-globe.gl.mjs +1 -1
- package/package.json +13 -13
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">
|
package/dist/react-globe.gl.d.ts
CHANGED
|
@@ -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> }>;
|