Results 1 to 3 of 3

Thread: how to integrate gmappanel in extjs3.4

  1. #1
    Sencha User
    Join Date
    Apr 2014
    Location
    India
    Posts
    2

    Default how to integrate gmappanel in extjs3.4

    Hi all i am new to extjs 3.4, i felt difficult in case of integrating google map with extjs3.4. I am using Ext.ux.gmappanel3 of vinylFox google map V3....my code is below

    </head>
    <body>

    <div id="ext-map"></div>
    <script src="http://maps.google.com/maps/api/js?sensor=false"></script>


    <script src="/js/ext/3.2.1/adapter/ext/ext-base.js"></script>
    <script src="/js/ext/3.2.1/ext-all.js"></script>
    <script src="/js/gmap/Ext.ux.GMapPanel3.js"></script>(This is library js)

    <script src="map.js"></script>

    </body>
    </html>



    map.js

    var viewport = new Ext.Viewport({
    items:[{
    title:'center panel',
    region:'center',
    items:[mygmappanel]

    }]
    });

    var mygmappanel = new Ext.Panel({
    layout: 'fit',
    height: 500,
    hideLabel: true,
    items: [
    {
    xtype: 'gmappanel',
    gmapType: 'map',
    zoomLevel: 14,
    setCenter: {
    lat: 40.782686,
    lng: -73.96524,
    marker: {
    title: 'Central Park'
    }
    }
    }
    ]
    });


    here i want to add multiple markers for multiple places with multiple infowindow how i can acheive this give me suggestions regarding this.
    If my way is wrong advice me correct, Thanks in advance


  2. #2
    Sencha User
    Join Date
    Apr 2014
    Location
    India
    Posts
    2

    Default

    can i expect the solution from sencha support team regarding this question...Thanks

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    2

    Default ExtJS.ux.GMapPanel

    Maybe you can give a try to this:

    https://github.com/VinylFox/ExtJS.ux.GMapPanel

    Regards

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •