itemForMultiLineString(itemCollection, geoJSON)
Overrides a multiline string.
Declaration
itemForMultiLineString?<D extends GeoJSONTypes.MultiLineString>(
itemCollection: ItemCollection<D>,
geoJSON: D,
): ItemCollection<D> | Item[] | null;Parameters
- itemCollection:
An item collection containing associated overlays.
- geoJSON:
The original GeoJSON object for the
MultiLineString. 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 MultiLineString object. The framework also calls this method after constructing subitems and calling their delegate functions.