Skip to content

Latest commit

Β 

History

History
474 lines (360 loc) Β· 15.4 KB

support.md

File metadata and controls

474 lines (360 loc) Β· 15.4 KB

Supported MapKit JS features

mapkit

Constructor parameters

Feature Supported
MapKitInitOptions.language ❌
MapKitInitOptions.authorizationCallback ⚠️
You can only pass token as strings, callbacks are not supported.

Properties

Feature Supported
Librairies ❌
loadedLibrairies ❌
maps ❌

Methods

Feature Supported
load ❌

Events

Feature Supported
configuration-change ❌
error ❌

mapkit.Map

Constructor parameters

Visible portion of the map

Feature Supported
MapConstructorOptions.visibleMapRect ❌
MapConstructorOptions.region βœ… (initialRegion)
MapConstructorOptions.center ❌
MapConstructorOptions.rotation ❌
MapConstructorOptions.tintColor ❌

Appearance and controls

Feature Supported
MapConstructorOptions.colorScheme βœ…
MapConstructorOptions.mapType βœ…
MapConstructorOptions.padding βœ…
MapConstructorOptions.showsMapTypeControl βœ…
MapConstructorOptions.isRotationEnabled βœ…
MapConstructorOptions.showsCompass βœ…
MapConstructorOptions.isZoomEnabled βœ…
MapConstructorOptions.showsZoomControl βœ…
MapConstructorOptions.isScrollEnabled βœ…
MapConstructorOptions.showsScale βœ…

Annotations

Feature Supported
MapConstructorOptions.annotationForCluster ❌
MapConstructorOptions.annotations βœ…
MapConstructorOptions.selectedAnnotation βœ… (use selected on the annotations)

Overlays

Feature Supported
MapConstructorOptions.overlays βœ…
MapConstructorOptions.selectedOverlay βœ… (use selected on the overlays)
MapConstructorOptions.showsPointsOfInterest βœ…
MapConstructorOptions.pointOfInterestFilter βœ…

User location

Feature Supported
MapConstructorOptions.showsUserLocation βœ…
MapConstructorOptions.tracksUserLocation βœ…
MapConstructorOptions.showsUserLocationControl βœ…

Loading priority

Feature Supported
MapConstructorOptions.loadPriority βœ…

Properties

Interaction properties

Feature Supported
isRotationAvailable ❌
isRotationEnabled βœ…
isScrollEnabled βœ…
isZoomEnabled βœ…

Visible portion of the map

Feature Supported
center ❌
region ❌
rotation ❌
visibleMapRect ❌
cameraBoundary βœ…
cameraDistance ❌
cameraZoomRange βœ… (minCameraDistance/maxCameraDistance)

Controls

Feature Supported
showsCompass βœ…
showsMapTypeControl βœ…
showsScale βœ…
showsUserLocationControl βœ…
showsZoomControl βœ…

Appearance

Feature Supported
colorScheme βœ…
distances βœ…
mapType βœ…
padding βœ…
pointOfInterestFilter βœ…
showsPointsOfInterest βœ…
tintColor ❌

Annotations

Feature Supported
annotations βœ…
selectedAnnotation ❌

Overlays

Feature Supported
overlays βœ…
selectedOverlay βœ… (use selected on the overlays)
tileOverlays ❌

User location

Feature Supported
showsUserLocation βœ…
tracksUserLocation βœ…
userLocationAnnotation ❌

Access the element

Feature Supported
element ❌

Selectable map features

Feature Supported
selectableMapFeatures ❌

Feature loading prioritization

Feature Supported
loadPriority βœ…

Events

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 βœ…

Methods

To call methods on the mapkit.Map object, you can use the reference exposed by the Map component.

mapkit.Annotation

Constructor parameters

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 βœ…

Properties

Getting the map and element

Feature Supported
map ❌
element ❌

Data, titles, and accessibility label

Feature Supported
data βœ…
title βœ…
subtitle βœ…
accessibilityLabel βœ…

Appearance

Feature Supported
coordinate βœ…
anchorOffset βœ…
appearanceAnimation βœ…
displayPriority βœ…
padding βœ…
size βœ…
visible βœ…

Interaction behavior

Feature Supported
animates βœ…
draggable βœ…
selected βœ…
enabled βœ…

Callouts

Feature Supported
callout βœ…
calloutEnabled βœ…
calloutOffset βœ…

Clustering

Feature Supported
memberAnnotations ❌
clusteringIdentifier βœ…
collisionMode βœ…

Events

Feature Supported
select βœ…
deselect βœ…
drag-start βœ…
dragging βœ…
drag-end βœ…

mapkit.ImageAnnotation

❌ Not currently supported by mapkit-react.

mapkit.MarkerAnnotation

Constructor parameters

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 βœ…

Properties

Visibility

Feature Supported
subtitleVisibility βœ…
titleVisibility βœ…

Appearance

Feature Supported
color βœ…
glyphColor βœ…

Glyph image and text

Feature Supported
glyphText βœ…
glyphImage βœ…
selectedGlyphImage βœ…

Events

Feature Supported
select βœ…
deselect βœ…
drag-start βœ…
dragging βœ…
drag-end βœ…

mapkit.Geocoder

❌ Not currently supported by mapkit-react.

mapkit.Search

❌ 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.

mapkit.Directions

❌ Not currently supported by mapkit-react.

mapkit.ItemCollection

❌ Not currently supported by mapkit-react.

mapkit.CircleOverlay

❌ Not currently supported by mapkit-react.

mapkit.PolylineOverlay

Properties

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 ❌

Events

Feature Supported
select βœ…
deselect βœ…

mapkit.PolygonOverlay

Properties

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 ❌

Events

Feature Supported
select βœ…
deselect βœ…

mapkit.TileOverlay

❌ Not currently supported by mapkit-react.