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

    Type Alias PlaceEntryPointsShowFor

    PlaceEntryPointsShowFor: "all" | "selected" | "clicked"

    Which shown places get their entry points drawn.

    • all: every place that has entry points.
    • selected: hovered or clicked places, the ones the selected layer highlights. A recently-hovered place counts too, so the pointer can cross the map to an entrance.
    • clicked: clicked places, which stay clicked until the next click lands elsewhere.

    selected and clicked follow the module's event states, which exist once an event handler is registered on the module or PlacesModule.putEventState is called. Hovering or clicking an entry point keeps the entry points of its place drawn when a handler covers them: one on events or events.entryPoints, not on events.places alone.