- move to
react-map-gl@7.x
from6.x
that brings many DX Improvements - moves entire monorepo to
turborepo
as monorepo manager andtsup
as 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
gmapApiAccessToken
togmapAccessToken
- renamed prop
defaultViewPort
todefaultViewState
- renamed prop
mapboxApiAccessToken
tomapboxAccessToken
@ibp/naksha-mapbox-draw
- renamed
defaultFeatures
tofeatures
- removed
isPolygon
prop
- renamed
@ibp/naksha-mapbox-list
viewPort
todefaultViewState
@ibp/naksha-mapbox-list
is 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.x
doesn'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