PDA

View Full Version : [FIXED] MVC: Setting config in Ext.Map



sdruckerfig
7 Nov 2011, 8:32 AM
The the following code, the config properties are not applied to the map.

Any ideas?



Ext.define("CrimeFinder.view.crimereport.map.Map", {
extend: 'Ext.Map',
xtype: 'crimemap',

config: {
useCurrentLocation: true,
mapOptions: {
center: new google.maps.LatLng(38.909085, -77.036777),
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP,
navigationControl: true,
navigationControlOptions: {
style: google.maps.NavigationControlStyle.DEFAULT
}
}
}
});

mitchellsimoens
16 Nov 2011, 1:29 PM
I have moved to the bugs forum. Thank you for the report.

Jamie Avins
21 Nov 2011, 3:44 PM
This issue has been fixed for the next release.