This is the documentation of version 1.0.0-rc.4. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias PlacesMarkerType

    PlacesMarkerType: typeof placesMarkerTypes[number]

    The kind of marker places are drawn with.

    • pin - Traditional map pin markers (teardrop shape).
    • circle-icon - Simple circular markers.
    • base-map - Mimics the map's built-in POI layer style with category icons, combining the main, selected and micro layers. To render only micro, hide main with layers.main.layout.visibility = 'none'.
    • pin-clustered - The same teardrop pins as pin for unclustered places, with nearby places aggregated into a single icon. A single-category cluster shows the matching base-map POI sprite with a small count badge in the top-right. A mixed-category cluster shows a larger centred count circle instead of the icon. Cluster features expose clusterBaseMapIconIDs (comma-separated, deduplicated) on their properties. PlacesModuleConfig.cluster configures both.