私の理解が正しければ、あなたの質問は「Sencha アプリケーションで google MAPS API を使用する方法」です。現在、あなたのアプリケーションは google apps API を認識していません。
アプリケーション ファイルに次の変更を加えました。
index.html
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
app.js
// 名前空間を以下のように設定し、Google ライブラリを touch/src/lib/plugin の下に追加します
Ext.Loader.setPath({
'Ext' : 'touch/src',
'WU' : 'app',
'Ext.plugin': 'lib/plugin'
});
// 必須構成に必要なクラスを追加します
必要: [ 'Ext.MessageBox','Ext.plugin.google.Traffic','Ext.plugin.google.Tracker'],
起動:関数(){
//Tracking Marker Image
var image = new google.maps.MarkerImage(
'resources/images/point.png',
new google.maps.Size(32, 31),
new google.maps.Point(0, 0),
new google.maps.Point(16, 31)
);
var shadow = new google.maps.MarkerImage(
'resources/images/shadow.png',
new google.maps.Size(64, 52),
new google.maps.Point(0, 0),
new google.maps.Point(-5, 42)
);
それが役に立てば幸い。