我不知道如何为 Sencha 2 地图提供坐标,尝试了类似的方法(在 Internet 上的某个地方,我看到有人使用该属性,但它没有在地图 API 的配置列表中定义)。我找不到任何有意义的配置属性或方法,我忽略了什么?
http://docs.sencha.com/touch/2-0/#!/api/Ext.Map
this.getLoginview().push({
xtype: 'map',
position: new google.maps.LatLng(-34.397, 150.644)
//useCurrentLocation: true
});