1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Kottayam, Kerala
    Posts
    4
    Vote Rating
    0
    alesha is on a distinguished road

      0  

    Default SEncha Maps

    SEncha Maps


    Could anyone please help me with sencha Maps...

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    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


    Did you have a specific question in mind?

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Kottayam, Kerala
    Posts
    4
    Vote Rating
    0
    alesha is on a distinguished road

      0  

    Default Maps:Plot Markers from store(json data), tap marker and determine direction

    Maps:Plot Markers from store(json data), tap marker and determine direction


    Ext.define('Navigator.view.mapcard', {
    extend: 'Ext.Map',
    xtype: 'mapcard',


    config: {
    title: 'Mappa',
    iconCls: 'maps',
    useCurrentLocation: true,
    mapTypeId: google.maps.MapTypeId.ROADMAP,
    navigationControl: true,
    navigationControlOptions: {
    style: google.maps.NavigationControlStyle.DEFAULT
    },




    listeners: {
    maprender: function (comp, map) {
    var image = '/images/iconmarker.png';
    data = Navigator.store.Contacts;
    for (var i = 0, ln = data.data.length; i < ln; i++) {
    addMarkers(data.data.items[i], image);
    }
    var addMarkers = function (data, image) {
    var latLng = new google.maps.LatLng(data.get('latitude'), data.get('longitude'));
    var marker1 = new google.maps.Marker({
    map: map.map,
    position: latLng,
    icon: image
    });
    google.maps.event.addListener(marker1, 'click', function () {
    infowindow.open(map, marker1);
    //marker1.setPostion(latLng);


    });

    setTimeout(function () { map.panTo(position) }, 1000);
    }
    }
    }






    In the above code fragment i have specified the code to plot the markers from json data, but i do not get any thing displayed on the map.Once the markers are plotted i need to facilitate tap on the markers and determine the directions to go to the marker tapped from my current location.Could you please provide some help regarding the same.

Thread Participants: 1

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