bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

How to auto zoom google map component ?

I want to "auto zoom" the Google map component to include all my markers that I load through the RESt service.

For example, if my marker are located through out the city then I want the map to be zoomed to the extent of the city. However, if my markers are located through out the world, then I want the zoom to extend to include the world.

How do I do this, since I can't just use a fix value for zoom ?

Thanks

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to auto zoom google map component ?

Hi!

You can do it with JavaScript. Something like this http://stackoverflow.com/questions/12...

Return to “Issues”