MTNavigable
Functions
Returns whether all currently requested tiles are loaded.
Centers the map on the visitor's location inferred from their public IP address.
Changes any combination of center, zoom, bearing and pitch with an animated transition between old and new values.
Adjusts the camera to ensure the entire bounding box is visible.
Fits the camera to the coarse bounds inferred from the user's public IP address.
Changes any combination of center, zoom, bearing, and pitch, animating the transition along a curve that evokes flight.
Returns the map's current bearing.
Returns the elevation of the point currently targeted by the camera, in meters above sea level.
Returns whether the map's center is clamped to the ground.
Returns the elevation of the map's center point in meters above sea level.
Returns the geographical constraints currently applied to the map, if any.
Returns the map's maximum pitch.
Returns the map's minimum pitch.
Returns the pixel ratio currently used to render the map.
Returns whether the map is set to render multiple world copies.
Changes any combination of center, zoom, bearing, and pitch, without an animated transition
Sets bearing of the map.
Sets the elevation of the map's center point, in meters above sea level.
Sets the center clamped to the ground.
Applies or clears the geographical constraints that clamp user interaction.
Sets the padding in pixels around the viewport.
Overrides the pixel ratio used to render the map.
Sets the map's vertical field of view in degrees (defaults to 36.87 degrees).
Snaps the map so that north is up (bearing 0), animating the transition.