Sorry, you need to enable JavaScript to visit this website.

Entry points

Entry points

Allow your users to display entry points using fuzzy search results.

Sample use case: A taxi driver wants to pick up a passenger from the specific entry point at the airport.

Use the code below to try this in your app:

_

for (EntryPoint entryPoint : fuzzySearchResult.getEntryPoints()) {
    SimpleMarkerBalloon markerBalloon = new SimpleMarkerBalloon(
            String.format(markerBalloonText, entryPoint.getType()));

    addMarkerWithIcon(entryPoint, markerBalloon, icon);
}
fuzzySearchResult.entryPoints.forEach { entryPoint ->
    val markerBalloon = SimpleMarkerBalloon(
            String.format(markerBalloonText, entryPoint.type))

    addMarkerWithIcon(entryPoint, markerBalloon, icon)
}

_

private void addMarkerWithIcon(EntryPoint entryPoint, SimpleMarkerBalloon balloon, Icon icon) {
    tomtomMap.addMarker(new MarkerBuilder(entryPoint.getPosition())
            .markerBalloon(balloon)
            .icon(icon));
}
private fun addMarkerWithIcon(entryPoint: EntryPoint, balloon: SimpleMarkerBalloon, icon: Icon) {
    tomtomMap.addMarker(MarkerBuilder(entryPoint.position)
            .markerBalloon(balloon)
            .icon(icon))
}

 

Sample views utilizing entry points:



image

Entry points for the Amsterdam airport

image

Entry points for the Kalvertoren mall

You are here