-
Ext.Map problem
Hi to all, I've this map:
Code:
Ext.define('geomobi.view.GeoMap', {
extend: 'Ext.Map',
alias: 'widget.geomap',
config: {
title: '',
iconCls: 'maps',
id: 'mappa',
listeners: {
initialize: function(comp, opts){
comp.setMapOptions({
zoom: 10,
streetViewControl: false,
center: new google.maps.LatLng(lat, lng),
mapTypeControl: ((Ext.os.is.iOS) ? true : false ),
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
},
navigationControl: true,
navigationControlOptions: {
style: google.maps.NavigationControlStyle.DEFAULT
},
mapTypeId: google.maps.MapTypeId.ROADMAP
});
},
}
},
initialize: function() {
this.callParent(arguments);
}
}
With sencha 2.0.1.1 all works fine but with 2.0.2 or 2.1beta3 all tiles of map are gray without errors.
Where is the problem?
Stefano
-
Using just that code and creating it using this:
Code:
new geomobi.view.GeoMap({
fullscreen : true
});
On an iPhone it displays the tiles as expected for me using 2.1.0 b1
-
Hi Mitchel, I need to define the map as illustrated. The fullscreen is on my viewport... The problems still remain..
Thanks
stefano
-
If the map has a parent, does the parent have a layout?
-
1 Attachment(s)
Mitchel, I test a map into a new project. Add the sdk and resources folders into directory and verify the same issue.
thanks
Stefano
-
1 Attachment(s)
Working for me:
Attachment 37782