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

    Type Alias PlaceEntryPointFeature

    PlaceEntryPointFeature: Feature<
        Point,
        PlaceEntryPointProps & { place?: Place<DisplayPlaceProps> },
    >

    What places.events.entryPoints handlers receive: the entry point as a point feature, whether its circle or its line was hit, together with the place it belongs to.

    The place is passed as shown, with its own geometry. To route to the entrance, pass this feature as the route location.