- To better accommodate the API divergence between Mapbox and Maplibre, this version adds a new endpoint
react-map-gl/maplibre
. The new endpoint exports identical components asreact-map-gl
, but typed formaplibre-gl
instead. After switching to this new endpoint,maplibre-gl
users no longer need to installmapbox-gl
or a placeholder package as dependency. See upgrade guide for an example. Marker
,Popup
andGeolocateControl
components now expose the native instance via React ref.