goTo

fun goTo(entity: MPEntity?)


fun goTo(entity: MPEntity?, 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