All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Prefix the change with one of these keywords:
- Added: for new features.
- Changed: for changes in existing functionality.
- Deprecated: for soon-to-be removed features.
- Removed: for now removed features.
- Fixed: for any bug fixes.
- Security: in case of vulnerabilities.
- Fixed: MapPanel story
- Added: README in
@amsterdam/arm-cluster
- Added: README in
@amsterdam/arm-core
- Added: README in
@amsterdam/arm-nontiled
- Updated: GETTING_STARTED
- Updated: moved to version 1
- Added: props tabIndexIn and tabIndexOut to Zoom component
- Added: README files for Core, Cluster and Nontiled npm packages
- Updated: all peerdependencies for react (17 and 18), react-dom, leaflet, leaflet.cluster and leaflet.nontiled
- Added: ARM-core now exports: AMSTERDAM_MAPS_OPTIONS, AMSTERDAM_LAYERS, AERIAL_AMSTERDAM_LAYERS, MIN_ZOOM_LEVEL, MAX_ZOOM_LEVEL,
- Added: ARM-core now exports GeoJSON, useMapInstance, useMapEvents and useEvents
- Added: GeoJSON test
- Fixed: BREAKING placemment of items in
ViewerContainer
- Added: more stories
- Removed: BREAKING
@amsterdam/arm-draw
package andDrawTool
- Added: more unit tests
- Added: more stories
- Removed: BREAKING unused props in several components
- Removed: BREAKING
onInitLayers
and unusedisOpen
props on draw tool - Added:
onEndInitialItems
prop for draw tool - Added: All components exported from
@amsterdam/arm-draw
now also export their respective prop types - Added: Pass along props to
BaseLayerToggle
component. - Changed:
DrawTool
component will now pass along other props down the component hierarchy
- Changed: Update React Maps to version 0.12.0
- Changed: Add shadow in the map mobile drawer for better UX #1108
- Changed: BREAKING Updated Amsterdam Styled Components version to 0.28.0
- Changed: BREAKING Minimum supported version of React to v17
- Fixed: switched to es6 style imports to fix background image resolution in BaseLayerToggle in apps that prefer
esModule: true
see also
- Changed: Moved packages to @amsterdam organization on NPM.
- Added:
setInstance
prop to Marker component - Changed: MarkerClusterGroup has a breaking change. The L.MarkerClusterGroup layer is constructed outside of the component.
- Added: MarkerClusterGroup accepts events for the L.MarkerClusterGroup layer instead of individual markers
- Added: MarkerClusterGroup now has a setInstance method
- Changed: BREAKING
DrawTool
no longer accepts themapInstance
prop. - Changed: Return values of
useMapInstance
no longer checked for null values. - Changed: Updated version of
@datapunt/react-maps
to version 0.9.1
- Changed: Marker component now accepts the more generic LatLngExpression instead of only a LatLng
- Deprecated: amsterdam-react-maps package
- Changed: usePanToLatLng now accepts a LatLngLiteral instead of a LatLng
- Added: BaseLayerToggle component
- Added: DrawTool
- Added: MapPanel (desktop) & MapPanelDrawer (mobile) components
- Added: RDGeoJSON
- Added: Draw tool
- Added: MarkerClusterGroup
- Added: Map (with amsterdam-maps defaults)
- Added: BaseLayer component
- Changed: Marker now accepts options and events