VinylFox / ExtJS.ux.GMapPanel

An ExtJS Panel that displays a Google Map using the Google Maps API
http://www.vinylfox.com
64 stars 35 forks source link

addOptions not working #8

Open elian83 opened 13 years ago

elian83 commented 13 years ago

Hi,

I'm using Ext.ux.GMapPanel3.js + ExtJS 4.0.2a.

Function "addOptions" (line 571) in Ext.ux.GMapPanel3.js is doing nothing. I had to change it to:

addOptions : function(){        
    this.getMap().setOptions(this.mapConfOpts);
}

and then I can set the MapOptions like this:

mapConfOpts:  { scrollwheel: false, disableDoubleClickZoom: true, draggable: false, streetViewControl: false, disableDefaultUI: true } 

Thanks in advance.

VinylFox commented 13 years ago

Working on this one.