1. #11
    Sencha User
    Join Date
    Nov 2010
    Posts
    8
    Vote Rating
    0
    kinestetic is on a distinguished road

      0  

    Default


    alawibh, i can answer on your 1st question. As i saw, you launched your app on android. Google Android does not support controls, pinch, etc within Google Maps api v3. You can test it simply: http://maps.google.com. You should create your own controls, using google maps api.
    About your 2nd problem. I've had the same problem. This works fo me:
    Code:
    /*activeitemchange event handler*/
    
    function(view,item){
                if (item.xtype=='map'){
                    /*Hook to preserve map from collapse ^-^*/
                    try{
                        google.maps.event.trigger(item.getMap(),'resize'); 
                    }
                    catch(e){}
                }
            }

  2. #12
    Sencha User
    Join Date
    Dec 2011
    Posts
    35
    Vote Rating
    0
    alawibh is on a distinguished road

      0  

    Default


    Hi dear,

    Thanks a lot for your reply and help.
    Would you mind if you look at this problem for me:

    http://www.sencha.com/forum/showthread.php?176312-How-to-get-Google-Map-instance

  3. #13
    Sencha User
    Join Date
    Dec 2010
    Location
    Key West, FL
    Posts
    1
    Vote Rating
    0
    toddsantoro is on a distinguished road

      0  

    Default Having the same problem

    Having the same problem


    The map only wants to show up in a small square in the upper left hand of the screen. I placed this code on my initial loading screen and it filled the whole screen correctly. Below is my code:

    /**
    * location.js
    */
    app.views.Location = Ext.extend(Ext.Panel, {
    fullscreen: true,
    layout: 'fit',
    name: 'Location',
    position:3,
    items: [{
    xtype: 'map',
    fullscreen: true,
    useCurrentLocation: true,
    mapOptions: {
    zoom: 12
    }
    }],
    dockedItems: [{
    dock: 'top',
    xtype: 'toolbar',
    title: 'Location'
    }],
    initComponent: function() {
    Logger.log(this.name, 'Init Component');
    // apply
    app.views.Home.superclass.initComponent.apply(this, arguments);
    Logger.log(this.name, 'Init Component Complete');
    },
    handleTo:function() {
    Logger.log(this.name, "Handle To");
    },
    handleFrom:function() {
    Logger.log(this.name, "Handle From");
    }
    });

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar