你能在页面加载后,使用ExtJS 4加载Google Maps API吗?
Ext.Loader.loadScriptFile('https://www.google.com/jsapi',function(){
google.load("maps", "3", {
other_params:"sensor=false",
callback : function(){
// Google Maps are loaded. Place your code here
}
});
},Ext.emptyFn,null,false);
other_params: "sensor=false&libraries=places&key=YOUR_API_KEY"
有关Google Loader的更多信息,请参见:
https://developers.google.com/loader/