-
1 Aug 2012 5:30 AM #1Touch Premium Member
- Join Date
- Feb 2009
- Location
- Firenze, Italia
- Posts
- 156
- Vote Rating
- 0
- Answers
- 1
Unanswered: Ext.Map problem
Unanswered: Ext.Map problem
Hi to all, I've this map:
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.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); } }
Where is the problem?
Stefano
-
3 Aug 2012 4:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,128
- Vote Rating
- 453
- Answers
- 3161
Using just that code and creating it using this:
On an iPhone it displays the tiles as expected for me using 2.1.0 b1Code:new geomobi.view.GeoMap({ fullscreen : true });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
5 Aug 2012 10:43 PM #3Touch Premium Member
- Join Date
- Feb 2009
- Location
- Firenze, Italia
- Posts
- 156
- Vote Rating
- 0
- Answers
- 1
Hi Mitchel, I need to define the map as illustrated. The fullscreen is on my viewport... The problems still remain..
Thanks
stefano
-
6 Aug 2012 4:43 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,128
- Vote Rating
- 453
- Answers
- 3161
If the map has a parent, does the parent have a layout?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
7 Aug 2012 4:05 AM #5Touch Premium Member
- Join Date
- Feb 2009
- Location
- Firenze, Italia
- Posts
- 156
- Vote Rating
- 0
- Answers
- 1
Mitchel, I test a map into a new project. Add the sdk and resources folders into directory and verify the same issue.
thanks
Stefano
-
7 Aug 2012 4:53 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,128
- Vote Rating
- 453
- Answers
- 3161
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote