setPinToEntity

open fun setPinToEntity(@NonNull entityPos: MapPos, @NonNull entity: Entity)

Call this function when a search entity is selected on the map. Show map pop-ups based on styles.

Parameters

entityPos

Position of the entity on the map

entity

The entity that is selected to show pop-up.