• The gestures object will be responsible for all gestures on the map.

  • The ornamentsobject will be responsible for all ornaments on the map.

  • The camera object manages a camera’s view lifecycle.

  • The locationobject handles location events of the map.

  • Controls the addition/removal of annotations to the map.

  • Manages the configuration of custom view annotations on the map.

  • Viewport is a high-level and extensible API for driving the map camera. It provides built-in states for following the location puck and showing an overview of a GeoJSON geometry, and enables the creation of custom states. Transitions between states can be animated with a built-in default transition and via custom transitions.

  • A Boolean value that indicates whether the underlying CAMetalLayer of the MapView presents its content using a CoreAnimation transaction

    By default, this is false resulting in the output of a rendering pass being displayed on the CAMetalLayer as quickly as possible (and asynchronously). This typically results in the fastest rendering performance.

    If, however, the MapView is overlaid with a UIKit element which must be pinned to a particular lat-long, then setting this to true will result in better synchronization and less jitter.

  • The map’s current camera

  • The map’s current anchor, calculated after applying padding (if it exists)

  • Errors related to rendered snapshots

    See more
  • Synchronously captures the rendered map as a UIImage. The image does not include the ornaments (scale bar, compass, attribution, etc.) or any other custom subviews. Use drawHierarchy(in:afterScreenUpdates:) directly to include the full hierarchy.