Display the map at an initial viewpoint representing a bounding geometry.
Setting the initial viewpoint is useful when a user wishes to first load the map at a particular area of interest.
As application is loading, initial view point is set and map view opens at the given location.
- Instantiate an
Map
object. - Instantiate a
Viewpoint
object using anEnvelope
object. - Set the starting location of the map with
map.InitialViewpoint
. - Display the map in a map view.
- Map
- Envelope
- MapView
- Point
- Viewpoint
Envelope, InitialViewpoint, extent, zoom