react-map-gl icon indicating copy to clipboard operation
react-map-gl copied to clipboard

[Bug] GlobeControl was added in v8.1.1 but not exported from index

Open VictorLandim opened this issue 6 months ago • 0 comments

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

VictorLandim avatar May 22 '26 15:05 VictorLandim