Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    2
    Vote Rating
    0
    senchabeginner is on a distinguished road

      0  

    Default mapRender problem

    mapRender problem


    Hi, I am beginner in sencha touch. My problem is the lat and long value will keep remain the same after i refresh my page. Eventhough I have manage to pass in with the new value for long and lat. Sorry , if my english is bad .
    This is my code

    Code:
      initialize: function() {
            var dat = this.config.record;
            var Lat = dat.data.Lat;
            var Long = dat.data.Long;
    
                var position = new google.maps.LatLng(dat.data.Lat,dat.data.Long),
                map, marker,markerNew,Newmap;
    
                map = this.add({
                        xtype: 'map',
                        mapOptions: {
                        center: position,
                        mapTypeId: google.maps.MapTypeId.ROADMAP
                        },
    
            listeners: {
                maprender: function(extMapComponent, map){
                map = extMapComponent.getMap();
                marker = new google.maps.Marker({
                position: position,
                map: map
            });
      var Newposition = new google.maps.LatLng(Lat,Long);
    
            if(marker){
                marker.setMap(null);
                Newmap = extMapComponent.getMap();
                markerNew = new google.maps.Marker({
                position: position,
                map: Newmap
            });
    
            }
                }
               }
              });
        }

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Moved to touch 2 forums

Thread Participants: 1