Results 1 to 10 of 10

Thread: Ext.Map can't customize

    You found a bug! We've classified it as TOUCH-4258 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Exclamation Ext.Map can't customize

    Hi, I've a strange behavior with Sencha Touch 2.1.1 and Sencha Cmd v3.1.1.270.

    I've create an empty application and edit the app.js launch method like this:
    Code:
            Ext.Viewport.add(Ext.create('Ext.Map'),{
                mapOptions : {
                    center: new google.maps.LatLng(43.768732,11.256901),
                    zoom: 16
                }
            });
    The Ext.Map ignore the mapOptions and center the map on Los Altos (near Mountain View)...

    Thanks a lot
    Stefano

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    You have an error in your parenthesis:

    Code:
                        Ext.Viewport.add(Ext.create('Ext.Map', {
                            mapOptions : {
                                center: new google.maps.LatLng(43.768732,11.256901),
                                zoom: 16
                            }
                        }));
    This is much easier to read this way:

    Code:
                        Ext.Viewport.add({
                            xtype: 'map',
                            mapOptions : {
                                center: new google.maps.LatLng(43.768732,11.256901),
                                zoom: 16
                            }
                        }));

    Sencha Inc

    Jamie Avins

    @jamieavins

  4. #4
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Default

    ahh I'm stupid! Thanks, this is correct:

    Code:
            
    Ext.Viewport.add({
       xtype: 'map',
       mapOptions : {
          center: new google.maps.LatLng(43.768732,11.256901),
          zoom: 16
       }
    });
    I'm sorry...

  5. #5
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Default

    The problem still remain using sencha app build (testing|production|package).
    Without build works correctly, after building no.

    Thanks
    Stefano

  6. #6
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Default

    Anyone?

    Stefano

  7. #7
    Touch Premium Member
    Join Date
    Feb 2009
    Location
    Firenze, Italia
    Posts
    166
    Vote Rating
    0
      0  

    Default

    Hi Mitchell, is most important for me fix this problem... Any workaround?
    thanks

    Stefano

  8. #8
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    This bug report is marked as OPEN still so has not been marked as fixed or anything.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  9. #9
    Ext JS Premium Member
    Join Date
    Apr 2009
    Location
    Brasil
    Posts
    20
    Vote Rating
    0
      0  

    Default

    I'm have the same problem

  10. #10
    Ext JS Premium Member
    Join Date
    Apr 2009
    Location
    Brasil
    Posts
    20
    Vote Rating
    0
      0  

    Default

    Which version works Maps on Android devices?, I tested several versions 2.x and no work

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •