react-map-gl
react-map-gl copied to clipboard
[Bug] GlobeControl was added in v8.1.1 but not exported from index
Description
GlobeControl was introduced in the latest version but can't be imported.
We need to add GlobeControl exports to these two places:
https://github.com/visgl/react-map-gl/blob/master/modules/react-mapbox/src/index.ts https://github.com/visgl/react-map-gl/blob/master/modules/react-maplibre/src/index.ts
Expected Behavior
No response
Steps to Reproduce
Verify GlobeControl can't be imported:
// this errors
import { GlobeControl } from "react-map-gl/maplibre";
Environment
- Framework version: v8.1.1
- Map library: "maplibre-gl": "^5.24.0",
- Browser: chrome
- OS: macos
Logs
No response