TomTom Maps for JavaScript
    Preparing search index...

    Type Alias PlacesTheme

    PlacesTheme: "pin" | "circle-icon" | "base-map" | "pin-clustered"

    Icon style options for displaying places on the map.

    Available Styles:

    • pin: Traditional map pin markers (teardrop shape)
    • circle-icon: Simple circular markers (previously named circle)
    • 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 black 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.