This is the documentation of version 0.63.0. 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 (combines main, selected, and micro layers). For micro-only rendering, hide the main layer via layers.main.layout.visibility = 'none'.
    • pin-clustered: Same teardrop pins as pin for un-clustered places, with nearby places aggregated into a single icon. Single-category clusters render the matching base-map POI sprite with a small count badge in the top-right; mixed-category clusters render a larger centred count circle in place of the icon. Cluster features expose clusterBaseMapIconIDs (comma-separated, deduplicated) on their properties. PlacesModuleConfig.cluster configures both.