1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Maddaloni (CE) Italy
    Posts
    74
    Vote Rating
    1
    ing.amdangelo is on a distinguished road

      0  

    Default gMapPanel

    gMapPanel


    i change the address of example of vynil fox and doesn't works

    Code:
    Ext.onReady(function(){
        var mapwin;
        
        Ext.get('show-btn').on('click', function() {
            // create the window on the first click and reuse on subsequent clicks
            if(!mapwin){
    
    
                mapwin = Ext.create('Ext.Window', {
                    layout: 'fit',
                    title: 'GMap Window',
                    closeAction: 'hide',
                    width:450,
                    height:450,
                    border: false,
                    x: 40,
                    y: 60,
                    items: {
                        xtype: 'gmappanel',
                        id: 'mymap',
                        zoomLevel: 14,
                        gmapType: 'map',
                        mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
          mapControls: ['GSmallMapControl','GMapTypeControl'],
                        setCenter: {
                            geoCodeAddr: "Piazza San Pietro,1 Roma",
    						marker: {
    								title:"Piazza San Pietro,1 Roma"								
    						},
                        },
                        maplisteners: {
                        	click: function(mevt){
                        		Ext.Msg.alert('Lat/Lng of Click', mevt.latLng.lat() + ' / ' + mevt.latLng.lng());
                        		var input = Ext.get('ac').dom,
    				    			sw = new google.maps.LatLng(39.26940,-76.64323),
    				    			ne = new google.maps.LatLng(39.38904,-76.54848),
    				    			bounds = new google.maps.LatLngBounds(sw,ne);
    				    		var options = {
    				    			location: mevt.latLng,
    				    			radius: '1000',
    								types: ['geocode']
    							};
                        	}
                        }
                    }
                });
                
            }
            
            mapwin.show();
            
        });
        
     });
    Last edited by scottmartin; 18 Jun 2012 at 5:32 AM. Reason: Please format your code!
    Ing theMAdPumpkin

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thanks,
    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2010
    Posts
    101
    Vote Rating
    -2
    predator has a little shameless behaviour in the past

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    Thanks,
    Scott.
    Thank you too.. hahaah

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    hmm .. not sure... sometimes I just like to say thanks!

    Scott.

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Posts
    28
    Vote Rating
    0
    Ankit.Desai is on a distinguished road

      0  

    Default getMap () call on gmappanel returns undefined

    getMap () call on gmappanel returns undefined


    I have migrated from Google Map api v2 to v3. When I try to call getMap() on gmaappanel to pass to markercluster, I am not getting Map object. I have updated GMapPanel3.js and v3 url. If I don't do clustering of marker than it works fine as I am n't extracting Map object from GmapPanel. Code is as below.

    Code:
    Ext.create('Ext.Viewport', {
              id:'viewport',
              title: 'Site Register',
              layout: 'border',
              items: [
                  {
                    region: 'west',
                    title: '',
                    id:'searchPanel',
                    split:true,
                    width:600,
                    autoScroll:true,
                    items:[
                     {  
                        xtype    :'panel',
                        id       :'inboxListPanel',
                        emptyText: 'No records',
                        title    : 'Inbox',
                        collapsible: true,
                        draggable: true,
                        style    :'text-align:center',
                        items    : [grid]
                      }
                     ]
                },{
                    region: 'center', 
                    id: 'mainPanel',
                    deferredRender: false,
                    items: [
                        Ext.create("Ext.tab.Panel", {
                        region: 'center',
                        id:'mapPanel',
                        width:'100%',
                        activeTab: 0,
                        items: [{
                         xtype: 'gmappanel',
                         title: 'Map',
                         id : 'gSiteMap',
                         width:900,
                         height:850,
                         zoomLevel: 5,
                         gmapType: 'map',
                         mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
                         mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'],
                         setCenter: {
                           geoCodeAddr: '1600 Penn St, Washington DC, DC',
                           marker:{ title: 'HQ, Washington DC DC'}
                        }
            }]
         }]
    });
    
    var gmp = Ext.getCmp('gSiteMap');
    var gm = gmp.getMap();    <----------------- gm is undefined !
    Any guess ?

    -Ankit

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Posts
    28
    Vote Rating
    0
    Ankit.Desai is on a distinguished road

      0  

    Default


    I am using GMapPanel3.js

    -Ankit

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi