Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 474 Bytes

File metadata and controls

26 lines (16 loc) · 474 Bytes

Change viewpoint

Set the map view to a new viewpoint.

screenshot

Use case

Focus on a particular area of interest in a given map or scene.

How it works

  1. Create a new Map object and set it to the MapView object.
  2. Change the viewpoint with MapView.SetViewpoint.

Relevant API

  • Map
  • MapView
  • Point
  • SpatialReference
  • Viewpoint

Tags

SetViewpointAsync, SetViewpointCenterAsync, SetViewpointGeometryAsync, extent, zoom