Google Maps – UI Controls


Google Maps – UI Controls


”;


Google Maps provides a User Interface with various controls to let the user interact with the map. We can add, customize, and disable these controls.

Default Controls

Here is a list of the default controls provided by Google Maps −

  • Zoom − To increase and decease the zoom level of the map, we will have a slider with + and − buttons, by default. This slider will be located at the corner of left hand side of the map.

  • Pan − Just above the zoom slider, there will be a pan control for panning the map.

  • Map Type − You can locate this control at the top right corner of the map. It provides map type options such as Satellite, Roadmap, and Terrain. Users can choose any of these maps.

  • Street view − Between the pan icon and the zoom slider, we have a pegman icon. Users can drag this icon and place at a particular location to get its street view.

Example

Here is an example where you can observe the default UI controls provided by Google Maps −