onReady: function() { //Component----------------------- var position = new google.maps.LatLng(*****, *****); var map = new Ext.Map({ title: 'Map', getLocation: false, mapOptions: { zoom: 18, center : position } });
var aaa = new Ext.Component({ title: 'aaa', cls: 'aaa', scroll: 'vertical', html: [ 'aaa', ] });
//-------------------Component end
//Tab-----------------------------
var panel = new Ext.TabPanel({ fullscreen: true, animation: 'slide', items: [map,aaa] });
//-------------------------Tab end
var infowindow = new google.maps.InfoWindow({ content: 'TEXT!!' })
var marker = new google.maps.Marker({ position: position, map: map.map });