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 in entryPoints {
    let annotation = CustomAnnotation(coordinate: entryPoint.position,
                                      annotationImage: TTAnnotationImage.createPNG(withName: "entry_point")!,
                                      anchor: TTAnnotationAnchor.bottom,
                                      type: TTAnnotationType.focal)
    annotation.title = "Entry point type: \(entryPoint.type!)"
    mapView.annotationManager.add(annotation)
}
mapView.zoomToAllAnnotations()
for (TTEntryPoint *entryPoint in entryPoints) {
  CustomAnnotation *annotation = [[CustomAnnotation alloc]
      initWithCoordinate:entryPoint.position
         annotationImage:[TTAnnotationImage createPNGWithName:@"entry_point"]
                  anchor:TTAnnotationAnchorBottom
                    type:TTAnnotationTypeFocal];
  annotation.title =
      [NSString stringWithFormat:@"Entry point type %@", entryPoint.type];
  [self.mapView.annotationManager addAnnotation:annotation];
}
[self.mapView zoomToAllAnnotations];

 

Sample views utilizing entry points:



image

Entry points for the Amsterdam airport

image

Entry points for the Kalvertoren mall

You are here