Contents

itemForGeometryCollection(item, object)

Overrides a geometry collection with the provided item and object.

Declaration

itemForGeometryCollection?<D extends GeoJSONTypes.GeometryCollection>(
    item: ItemCollection<D>,
    object: D,
): ItemCollection<D> | Item[] | null;

Parameters

  • item:

    An item the system creates for the geometry of the geometry collection.

  • object:

    The original GeoJSON object for the feature.

Return Value

A map item for the geometry collection.