Supported MapKit JS features
Feature
Supported
MapKitInitOptions.language
❌
MapKitInitOptions.authorizationCallback
⚠️ You can only pass token as strings, callbacks are not supported.
Feature
Supported
Librairies
❌
loadedLibrairies
❌
maps
❌
Feature
Supported
configuration-change
❌
error
❌
Visible portion of the map
Feature
Supported
MapConstructorOptions.visibleMapRect
❌
MapConstructorOptions.region
✅ (initialRegion)
MapConstructorOptions.center
❌
MapConstructorOptions.rotation
❌
MapConstructorOptions.tintColor
❌
Feature
Supported
MapConstructorOptions.colorScheme
✅
MapConstructorOptions.mapType
✅
MapConstructorOptions.padding
✅
MapConstructorOptions.showsMapTypeControl
✅
MapConstructorOptions.isRotationEnabled
✅
MapConstructorOptions.showsCompass
✅
MapConstructorOptions.isZoomEnabled
✅
MapConstructorOptions.showsZoomControl
✅
MapConstructorOptions.isScrollEnabled
✅
MapConstructorOptions.showsScale
✅
Feature
Supported
MapConstructorOptions.annotationForCluster
❌
MapConstructorOptions.annotations
✅
MapConstructorOptions.selectedAnnotation
✅ (use selected on the annotations)
Feature
Supported
MapConstructorOptions.overlays
✅
MapConstructorOptions.selectedOverlay
✅ (use selected on the overlays)
MapConstructorOptions.showsPointsOfInterest
✅
MapConstructorOptions.pointOfInterestFilter
✅
Feature
Supported
MapConstructorOptions.showsUserLocation
✅
MapConstructorOptions.tracksUserLocation
✅
MapConstructorOptions.showsUserLocationControl
✅
Feature
Supported
MapConstructorOptions.loadPriority
✅
Feature
Supported
isRotationAvailable
❌
isRotationEnabled
✅
isScrollEnabled
✅
isZoomEnabled
✅
Visible portion of the map
Feature
Supported
center
❌
region
❌
rotation
❌
visibleMapRect
❌
cameraBoundary
✅
cameraDistance
❌
cameraZoomRange
✅ (minCameraDistance/maxCameraDistance)
Feature
Supported
showsCompass
✅
showsMapTypeControl
✅
showsScale
✅
showsUserLocationControl
✅
showsZoomControl
✅
Feature
Supported
colorScheme
✅
distances
✅
mapType
✅
padding
✅
pointOfInterestFilter
✅
showsPointsOfInterest
✅
tintColor
❌
Feature
Supported
annotations
✅
selectedAnnotation
❌
Feature
Supported
overlays
✅
selectedOverlay
✅ (use selected on the overlays)
tileOverlays
❌
Feature
Supported
showsUserLocation
✅
tracksUserLocation
✅
userLocationAnnotation
❌
Feature
Supported
element
❌
Feature
Supported
selectableMapFeatures
❌
Feature loading prioritization
Feature
Supported
loadPriority
✅
It is possible to indirectly listen to the events by using the reference to mapkit.Map exposed by the Map component.
Respond to map display events
Feature
Supported
region-change-start
✅
region-change-end
✅
rotation-start
❌
rotation-end
❌
scroll-start
❌
scroll-end
❌
zoom-start
❌
zoom-end
❌
map-type-change
✅
Respond to user location events
Feature
Supported
user-location-change
✅
user-location-error
✅
Respond to map interaction events
Feature
Supported
single-tap
✅
double-tap
✅
long-press
✅
To call methods on the mapkit.Map object, you can use the reference exposed by the Map component.
Feature
Supported
AnnotationConstructorOptions.title
✅
AnnotationConstructorOptions.subtitle
✅
AnnotationConstructorOptions.accessibilityLabel
✅
AnnotationConstructorOptions.data
❌
AnnotationConstructorOptions.draggable
✅
AnnotationConstructorOptions.visible
✅
AnnotationConstructorOptions.enabled
✅
AnnotationConstructorOptions.selected
✅
AnnotationConstructorOptions.calloutEnabled
✅
AnnotationConstructorOptions.animates
✅
AnnotationConstructorOptions.appearanceAnimation
✅
AnnotationConstructorOptions.anchorOffset
✅
AnnotationConstructorOptions.calloutOffset
✅
AnnotationConstructorOptions.callout
✅
AnnotationConstructorOptions.size
✅
AnnotationConstructorOptions.displayPriority
✅
AnnotationConstructorOptions.collisionMode
✅
AnnotationConstructorOptions.padding
✅
AnnotationConstructorOptions.clusteringIdentifier
✅
Getting the map and element
Feature
Supported
map
❌
element
❌
Data, titles, and accessibility label
Feature
Supported
data
✅
title
✅
subtitle
✅
accessibilityLabel
✅
Feature
Supported
coordinate
✅
anchorOffset
✅
appearanceAnimation
✅
displayPriority
✅
padding
✅
size
✅
visible
✅
Feature
Supported
animates
✅
draggable
✅
selected
✅
enabled
✅
Feature
Supported
callout
✅
calloutEnabled
✅
calloutOffset
✅
Feature
Supported
memberAnnotations
❌
clusteringIdentifier
✅
collisionMode
✅
Feature
Supported
select
✅
deselect
✅
drag-start
✅
dragging
✅
drag-end
✅
❌ Not currently supported by mapkit-react.
Feature
Supported
MarkerAnnotationConstructorOptions.titleVisibility
✅
MarkerAnnotationConstructorOptions.subtitleVisibility
✅
MarkerAnnotationConstructorOptions.color
✅
MarkerAnnotationConstructorOptions.glyphColor
✅
MarkerAnnotationConstructorOptions.glyphText
✅
MarkerAnnotationConstructorOptions.glyphImage
✅
MarkerAnnotationConstructorOptions.selectedGlyphImage
✅
MarkerAnnotationConstructorOptions.title
✅
MarkerAnnotationConstructorOptions.subtitle
✅
MarkerAnnotationConstructorOptions.accessibilityLabel
✅
MarkerAnnotationConstructorOptions.data
❌
MarkerAnnotationConstructorOptions.draggable
✅
MarkerAnnotationConstructorOptions.visible
✅
MarkerAnnotationConstructorOptions.enabled
✅
MarkerAnnotationConstructorOptions.selected
✅
MarkerAnnotationConstructorOptions.calloutEnabled
✅
MarkerAnnotationConstructorOptions.animates
✅
MarkerAnnotationConstructorOptions.appearanceAnimation
✅
MarkerAnnotationConstructorOptions.anchorOffset
✅
MarkerAnnotationConstructorOptions.calloutOffset
✅
MarkerAnnotationConstructorOptions.callout
✅
MarkerAnnotationConstructorOptions.size
❌
MarkerAnnotationConstructorOptions.displayPriority
✅
MarkerAnnotationConstructorOptions.collisionMode
✅
MarkerAnnotationConstructorOptions.padding
✅
MarkerAnnotationConstructorOptions.clusteringIdentifier
✅
Feature
Supported
subtitleVisibility
✅
titleVisibility
✅
Feature
Supported
color
✅
glyphColor
✅
Feature
Supported
glyphText
✅
glyphImage
✅
selectedGlyphImage
✅
Feature
Supported
select
✅
deselect
✅
drag-start
✅
dragging
✅
drag-end
✅
❌ Not currently supported by mapkit-react.
❌ Not currently supported by mapkit-react.
mapkit.PointOfInterestSearch
❌ Not currently supported by mapkit-react.
mapkit.MapFeatureAnnotation
❌ Not currently supported by mapkit-react.
mapkit.MapFeatureAnnotationGlyphImage
❌ Not currently supported by mapkit-react.
❌ Not currently supported by mapkit-react.
❌ Not currently supported by mapkit-react.
❌ Not currently supported by mapkit-react.
Feature
Supported
points
✅
data
❌
visible
✅
enabled
✅
selected
✅
style.lineCap
✅
style.lineDash
✅
style.lineDashOffset
✅
style.lineJoin
✅
style.lineWidth
✅
style.lineGradient
❌
style.strokeColor
✅
style.strokeOpacity
✅
style.strokeStart
✅
style.strokeEnd
✅
map
❌
Feature
Supported
select
✅
deselect
✅
Feature
Supported
points
✅
data
❌
visible
✅
enabled
✅
selected
✅
style.lineDash
✅
style.lineDashOffset
✅
style.lineJoin
✅
style.lineWidth
✅
style.lineGradient
❌
style.strokeColor
✅
style.strokeOpacity
✅
style.strokeStart
✅
style.strokeEnd
✅
style.fillColor
✅
style.fillOpacity
✅
style.fillRule
✅
map
❌
Feature
Supported
select
✅
deselect
✅
❌ Not currently supported by mapkit-react.