THIS SDK ISDEPRECATED.

We rolled out a new and better SDK for you.

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 following code to try this in your app:

1for (EntryPoint entryPoint : fuzzySearchDetails.getEntryPoints()) {
2 SimpleMarkerBalloon markerBalloon = new SimpleMarkerBalloon(
3 String.format(markerBalloonText, entryPoint.getType().toString().toLowerCase()))
4
5 addMarkerWithIcon(entryPoint, markerBalloon, icon);
6}
1fuzzySearchDetails.entryPoints.forEach { entryPoint ->
2 val markerBalloon = SimpleMarkerBalloon(
3 String.format(markerBalloonText, entryPoint.type.toString().toLowerCase())
4 )
5 addMarkerWithIcon(entryPoint, markerBalloon, icon)
6}
1private void addMarkerWithIcon(EntryPoint entryPoint, SimpleMarkerBalloon balloon, Icon icon) {
2 tomtomMap.addMarker(new MarkerBuilder(entryPoint.getPosition())
3 .markerBalloon(balloon)
4 .icon(icon));
5}
1private fun addMarkerWithIcon(entryPoint: EntryPoint, balloon: SimpleMarkerBalloon, icon: Icon) {
2 tomtomMap.addMarker(
3 MarkerBuilder(entryPoint.position)
4 .markerBalloon(balloon)
5 .icon(icon)
6 )
7}

Sample views utilizing entry points:

image

Entry points for the Amsterdam airport

image

Entry points for the Kalvertoren mall