Abstract base class for map data objects that carry rich metadata (images, hyperlinks, location profiles, and an external ID). Specific classes such as Space, PointOfInterest, and Connection extend this to expose typed accessors for their details payload.

Type Parameters

  • MVFData extends MVFFeature<Geometry, { details?: Details; externalId?: string; id: string }>

Hierarchy (View Summary)

Properties

id: string

The identity of the map data.

Accessors

  • get description(): string

    Gets the description of the map feature.

    Returns string

    The description of the map feature, or an empty string if no description exists.

  • get externalId(): string

    Gets the external identifier of the map feature.

    Returns string

    The external ID of the map feature, or an empty string if no external ID exists.

  • get geoJSONBoundingBox(): undefined | BBox

    Gets the bounding box of the geoJSON geometry.

    Returns undefined | BBox

    The bounding box of the geoJSON geometry

  • get icon(): undefined | ImageMetaData

    Gets the URL of the icon for the map feature.

    Returns undefined | ImageMetaData

    The icon of the map feature.

  • Gets the array of Hyperlinks associated with this map feature.

    Returns Hyperlink[]

    An array of Hyperlink objects, or an empty array if no links exist.

  • get name(): string

    Gets the name of the map feature.

    Returns string

    The name of the map feature.