goTo

open fun goTo(@Nullable entity: MPEntity)

Focus the map on the given MPEntity. Examples of classes of type MPEntity are: MPVenue, MPBuilding, MPBuilding, MPLocation.

Parameters

entity

The MPEntity you want the camera to focus on