This tutorial demonstrates how to implement and use basic map controls in your map application. These fundamental controls allow you to interact with the map by changing its view properties and retrieving information about the current state.
You'll learn how to:
- Set and get the current zoom level of the map
- Set and get the center location of the map
- Set and get the extent (visible area) of the map
- Retrieve information about the currently visible imagery
Those bits are specially useful to build an status panel or to use in conjunction to Vexcel API.
Zoom control
Center Controls
Extent Controls
Imagery Date
Date:
Collection:
index.html
main.js