Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1046 in a recent build.
  1. #1
    Sencha - Training Team
    Join Date
    Nov 2009
    Location
    Washington, DC
    Posts
    62
    Vote Rating
    2
    sdruckerfig is on a distinguished road

      0  

    Default MVC: Setting config in Ext.Map

    MVC: Setting config in Ext.Map


    The the following code, the config properties are not applied to the map.

    Any ideas?

    HTML Code:
    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
               }
           }
       }
     });
    

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,604
    Vote Rating
    818
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I have moved to the bugs forum. Thank you for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This issue has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 2