mapkit-react
mapkit-react copied to clipboard
🗺⚛️ A React wrapper for MapKit JS
I would like the customize the annotations used for clustering. Therefore I would recommend implementing `annotationForCluster` and possibly also `memberAnnotations`. More Info: https://developer.apple.com/documentation/mapkitjs/map/2991319-annotationforcluster And: https://developer.apple.com/documentation/mapkitjs/annotation/2991318-memberannotations
Implement the MapKit Events as property of the map Element. So the `region-change-end` event would be implemented as `onRegionChangeEnd`, ... ``` console.log('Region changed to', event)} /> ```
https://developer.apple.com/documentation/mapkitjs/mapkit/annotation/2973819-callout
Fixes #56 and fixes #57 This bug fixes a behavior where React would throw an error on component unmount. Also it fixes an issue where the callout would be visible...
I figured out collision mode seems to be in the storybook "Marker - clustering three marker into one" So I replaced the `markerAnnotation.collisionMode` type with the `annotation.collisionMode` type which appears...
I noticed another bug implemented with #55 So the callout elements attached to the Markers are being rendered all the time, outside the active scroll area but within the user...
I just figured out the unmounting of the callout elements implemented with #55 doesn't work. I implemented the new feature into my app and whenever you navigate to some other...
Implementing features for center, rotation, region and visibleMapRect. (See #49) Still draft as I wasn't able to fully test the rotation yet, as either storybook or my browser is a...
Hey! Digging the project so far! The API and code organization are great. Was wondering if exporting `MapContext` or a `useMapContext` hook would be inline with the API you want...
``` "jest": "^29.4.1", "mapkit-react": "^1.14.1", ``` ``` ● Test suite failed to run Jest encountered an unexpected token Jest failed to parse a file. This happens e.g. when your code...