Skip to content

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

Description

@VictorLandim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions