itemForMultiPoint(itemCollection, geoJSON)
Overrides a multipoint object.
Declaration
itemForMultiPoint?<D extends GeoJSONTypes.MultiPoint>(
itemCollection: ItemCollection<D>,
geoJSON: D,
): ItemCollection<D> | Item[] | null;Parameters
- itemCollection:
A collection containing associated annotations.
- geoJSON:
The original GeoJSON object for the
MultiPoint. This contains an array of geometries.
Return Value
A map item or an array of map items.
Discussion
MapKit JS calls this method for every MultiPoint object. The framework also calls this method after constructing subitems, and calling their delegate functions.
See Also
Overriding items
itemForFeature(item, geoJSON)itemForFeatureCollection(itemCollection, geoJSON)itemForLineString(overlay, geoJSON)itemForMultiLineString(itemCollection, geoJSON)itemForPoint(coordinate, geoJSON)itemForPolygon(overlay, geoJSON)itemForMultiPolygon(itemCollection, geoJSON)styleForOverlay(overlay, geoJSON)