CustomPoiImpl

open inner class CustomPoiImpl : MapApi.CustomPoi

Headless custom-POI/Tag implementation. Plots a named pin for a caller-supplied location and routes to it from the user's current location using the routing engine, without requiring any prebuilt map-ui fragment. See CustomPoi.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addAndRouteToCustomPoi(@NonNull name: String, @NonNull location: MercatorZone, @Nullable callback: MapApi.CustomPoi.CustomPoiCallback)
Create a custom POI at the supplied indoor location (property/building/floor + mercator coordinates), drop a pin for it on the map, add it as the routing destination, and compute + draw a route to it from the user's current location.
open fun addAndRouteToCustomPoi(@NonNull name: String, latitude: Double, longitude: Double, propertyId: Int, buildingId: Int, floorId: Int, @Nullable callback: MapApi.CustomPoi.CustomPoiCallback)
Create a custom POI at the supplied WGS84 geographic coordinate.
Link copied to clipboard
open fun addCustomPoi(@NonNull name: String, @NonNull location: MercatorZone): MapApi.CustomPoi.CustomPoiItem
Plot a custom POI pin at the supplied location WITHOUT routing to it.