1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Netherlands
    Posts
    87
    Vote Rating
    0
    macs is on a distinguished road

      0  

    Default how to bound to markers

    how to bound to markers


    i am extracting a couple of locations from a json which i render on a map by adding markers. i also try to bound the view to the markers like shown below without success. the markers are added but the view remains in palo alto. what would be the way to get the view to bound to the added markers?

    Code:
        addMarker: function (position) {
                var marker = new google.maps.Marker({
                    map: this.mapView._map,
                    position: position,
                    bounds: true,
                });
        },

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Netherlands
    Posts
    87
    Vote Rating
    0
    macs is on a distinguished road

      0  

    Default


    since i switched from jquery mobile the above code seemed correct. however looking in to the google api, the markeroptions do not have a bounds property. sorry i thought they have. that means I have to get and extend bounds for each marker manually. or is there a sencha touch map property that i overlooked that might do the same?

Tags for this Thread

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