goTo

open fun goTo(@Nullable entity: MPEntity)


open fun goTo(@Nullable entity: MPEntity, @Nullable maxZoom: Double)

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