addCustomPoi

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. Useful when an app wants to place the custom POI first and route later.

Return

the created CustomPoiItem

Parameters

name

display name of the custom POI

location

the POI location