Skip to content
Home » Android Map Zoom level

Android Map Zoom level

  • by

1. Overview

In this article, we will discuss Google Map Zoom levels in Android.

Are you wondering what Google Map zoom level to use in your Android application that best suits your use case?

2. Google Map zoom level Android

Larger Android zoom levels provide more low-level details on the screen, whereas smaller zoom levels show more of the world.

2.1. Google maps max and min zoom level

Due to screen size and density, some devices may not support the lowest or highest zoom levels. However, you can use GoogleMap.getMinimumZoomLevel() and GoogleMap.getMaximumZoomLevel() to get the minimum or maximum zoom levels available in your device for the map.

Suppose you want to know the current Google map zoom level, then you can use

float currentZoom = googleMap.getCameraPosition().zoom;

Here goes the list of various zoom levels and their details

1: Entire world
2: Subcontinental area
3: Largest country
5: Large African country
6: Large European country
7: Small country, US state
9: Wide area, large metropolitan area
10: Metropolitan area
11: City
12: Town, or city district
13: Village, or suburb
15: Small road
16: Street
17: Block, park, addresses
18: Some buildings, trees
19: Local highway and crossing details
20: A mid-sized building

And below are some of the zoom levels (multiples of 5) and the approximate detail you can expect for that specific zoom level

1: World
5: Landmass / Continent
10: City
15: Streets
20: Buildings

Map Zoom level 1: World
Zoom level 1: World
Map Zoom level 5: Continent
Zoom level 5: Continent
Map Zoom level 10: City
Zoom level 10: City
Map Zoom level 15: Street
Zoom level 15: Street
Zoom level 20: Building
Zoom level 20: Building
override fun onMapReady(googleMap: GoogleMap) {
    mMap = googleMap
    // Add a marker in Sydney and move the camera
    val sydney = LatLng(-34.0, 151.0)
    mMap.addMarker(MarkerOptions().position(sydney).title("Marker in Sydney"))
    mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(sydney, 20.0f))

Here, CameraUpdateFactory.newLatLngZoom takes LatLng as a first parameter and zoom level (float) as the second parameter. Mentioned zoom 20.0f enables you to view building-level detail on the map.

3. Conclusion

In this article, we have gone through the Android map zoom level.

Leave a Reply

Your email address will not be published. Required fields are marked *