title: How to use meters value in zoom level in google maps android?
body: <p>Previously I used zoom level in google maps by hardcoding. But now it comes from response. </p>
  
  <p>So how to convert the meters by passing into zoom level? In my code, I am displaying a big circle icon and also points. So for both, I use hardcoded zoom level. But now it comes from response.</p>
  
  <pre><code>LatLng retailerPosition = new LatLng(Double.parseDouble(retailerLatitude), Double.parseDouble(retalerLongitude));
      mMap.addMarker(new MarkerOptions().position(retailerPosition).title("").icon(BitmapDescriptorFactory.fromResource(R.drawable.ic_circle_red)));
      mMap.moveCamera(CameraUpdateFactory
              .newLatLngZoom(retailerPosition, 3)); //3 hardcoded one. 
  
  for (int i = 0; i &lt; listLocation.size(); i++) {
              LatLng sitePosition = new LatLng(Double.parseDouble(listLocation.get(i).getRetLatitude()), Double.parseDouble(listLocation.get(i).getRetLongitude()));
              mMap.addMarker(new MarkerOptions().position(sitePosition).title("").icon(BitmapDescriptorFactory.fromResource(R.drawable.round)));
              mMap.moveCamera(CameraUpdateFactory
                      .newLatLngZoom(sitePosition, 3)); //3 hardcoded one
          }
  </code></pre>
  
  <p>3 is hardcoded one. But now it comes from response. </p>
  
  <p>"range": "1000" //this comes in response as "meters"</p>
  
  <p>So how to apply this in above logic to convert from meters to zoom level? </p>