Skip to main content
1-Visitor
September 12, 2017
Question

How to resize Google maps Dynamically?

  • September 12, 2017
  • 0 replies
  • 1058 views

Hi,

I have one tree widget and one google map widget. Tree widget contains list of locations (lets say cities), when location/city is selected from tree widget it should be displayed at the center of map and map should shrink (the actual size of map) to some specified height and width and the location should be displayed at center.

   map1.png   Fig (a)map1.pngFig (b)

Something as above. Is there any way to achieve this functionality? Please advise.

Thanks,

Omkar