- move to
react-map-gl@7.xfrom6.xthat brings many DX Improvements - moves entire monorepo to
turborepoas monorepo manager andtsupas package builder making Improving DX
Breaking Changes / Migration Guide
Most functionality is kept same as is if you are just utilizing the component but few props are changed to keep things simple and to align with mapbox-gl package props
- renamed prop
gmapApiAccessTokentogmapAccessToken - renamed prop
defaultViewPorttodefaultViewState - renamed prop
mapboxApiAccessTokentomapboxAccessToken @ibp/naksha-mapbox-draw- renamed
defaultFeaturestofeatures - removed
isPolygonprop
- renamed
@ibp/naksha-mapbox-listviewPorttodefaultViewState
@ibp/naksha-mapbox-listis deprecated now use component directory directly since it's tightly bound to UI framework so it seemed better to not publish as npm module- since
react-map-gl@7.xdoesn't automatically import css files from mapbox-gl now you have to manually import them@import "mapbox-gl/dist/mapbox-gl.css"; @import "@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css";
Full Changelog: v4.0.5...v4.1.0