Divyang says:
This is working perfectly, but the issue is when you go with zoom out more and more, It displayed location multiple times.
So, my question is : How can we stop zoom out after certain condition like when map is over.
Hi Divyang,
It's been added to the api, you can just set that option directly on the map object:
map.setOptions({ minZoom: 5, maxZoom: 15 });
Refer the below link.
In Properties Tab - maxZoom and minZoom properties
https://developers.google.com/maps/documentation/javascript/reference#MapOptions
Hope it will help you.