如何在extjs中绘制地图内的条形图

时间:2013-08-13 05:09:50

标签: google-maps extjs

如何在Ext Js中的谷歌地图中绘制条形图。我想要java脚本代码在这个地图代码中绘制条形图:

{
     xtype: 'gmappanel',
     id: 'map',
     height: 688,
     width: 1565,
     zoomLevel: 14,
     mapConfOpts: ['enableScrollWheelZoom', 'enableDoubleClickZoom', 'enableDragging'],
     mapControls: ['GSmallMapControl', 'GMapTypeControl', 'NonExistantControl'],
     center: {
               geoCodeAddr: 'St. Peters College, Kolenchery, Ernakulam, 682311, INDIA',
               marker: {title: 'St. Peters College'}
             },
     markers: [{
               lat: 42.339641,
               lng: -71.094224,
               marker: {title: 'Boston Museum of Fine Arts'},
               icon: 'resources/images/greenbtn.png',
               listeners: {
                           click: function(e) {
                           Ext.Msg.alert({title: 'Its fine', text: 'and its art.'});
                          }
                        }
                      },
                      {
                           lat: 42.339419,
                           lng: -71.09077,
                           marker: {title: 'Northeastern University'}
                       }

             ]
} 

0 个答案:

没有答案