Google maps distance based on the zoom level

المشرف العام

Administrator
طاقم الإدارة
I have used google maps for displaying some locations using markers, based on the user's current location. User's current location is the center point of the map. The default zoom level is 12. In default, I displayed markers within 300 miles(In my case) distance only.

In that how can I do the following,

1) If I decrease the zoom level, I need to increase the distance that should display markers within the increased distance aslo. how much distance should I increase in miles (For e.g. Zoom level is 11) ?

2) If I increase the zoom level, I need to decrease the distance that should display markers without the increased distance. how much distance should I decrease in miles (For e.g. Zoom level is 13) ?

Please suggest me there is any built-in option to do that ...



أكثر...
 
أعلى