Skip to content

[Bug] Missing info in upgrade guide #2550

@vjohansen

Description

@vjohansen

Description

Using the upgrade guide "Upgrading to v8.0" was not as smooth as expected

  • "mapbox-gl": "^2.15.0",
  • "react-map-gl": "^7.1.6" to 8.0.4

I had to do these changes besides changing to use react-map-gl/mapbox-legacy

MapLayerMouseEvent -> MapMouseEvent,

MapboxMap -> MapInstance

MapboxGeoJSONFeature -> MapGeoJSONFeature,

LayerProps no longer have metadata field for type 'custom'

Expected Behavior

I expected the above info to be in the upgrade guide

Steps to Reproduce

Read https://visgl.github.io/react-map-gl/docs/upgrade-guide#upgrading-to-v80

Environment

  • Map library:"mapbox-gl": "^2.15.0",
  • Map library:"react-map-gl": "^7.1.6" to 8.0.4
  • OS: Windows

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions