1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    143
    Vote Rating
    0
    rockinthesixstring is on a distinguished road

      0  

    Default How to nest a map inside a div tag?

    How to nest a map inside a div tag?


    I can only seem to find tutorials on how to get a map to fill a panel.

    My home screen is setup to have a map nested inside a div tag, I'm wondering how I might be able to accomplish this?

    this is just a raw concept of what I'm looking for.

    Code:
    <tpl for".">
        <div id="home-banner">{html}</div>
        <div id="map-container">***MY MAP GOES HERE***</div>
        <div class="right">contact us</div><div class="left">about us</div>
    </tpl>

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Does this help?

    Code:
    Ext.setup({
        onReady: function(){
            var mainPanel = new Ext.Panel({
                fullscreen: true,
                id: 'mainPanel',
                items: [new Ext.Panel({
                    html: '<div id="home-banner">test</div>'
                }), new Ext.Map({
                    id: 'map-container',
                    useCurrentLocation: true,
                    width: 500,
                    height: 500
                
                }), new Ext.Panel({
                    html: '<div class="left">about us</div>'
                })]
            });
            
            
            
        }
    });

Thread Participants: 1

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