This is the documentation of version 0.47.7. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DisplayGeometryProps

    Geometry base and display properties.

    Combines complete place information with geometry-specific display properties for rendering polygon features on the map.

    Used by the GeometriesModule for rendering:

    • Search API geometry results
    • Reachable range polygons
    • Custom polygon overlays
    • Administrative boundaries

    Includes both geographic/metadata and visual styling properties.

    const geometry: DisplayGeometryProps = {
    type: 'Polygon',
    id: 'geom-123',
    title: 'Amsterdam',
    color: '#0080FF',
    address: {
    municipalitySubdivision: 'Amsterdam',
    countryCode: 'NL'
    }
    };