when i used the sencha touch2.2.1,i met a question. In the viewer:
items: [{ id: \'mapCanvas\', xtype:\'map\', useCurrentLocation: true, }] >
items: [{ id: \'mapCanvas\', xtype:\'map\', useCurrentLocation: true, }]
The marker.setMap method expects the argument to be a google.maps.Map object. This is not one of those:
marker.setMap
var map= Ext.getCmp('mapCanvas');