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, }]
Try this:
marker = new google.maps.Marker({ position : position, setMap : map });
It worked for me!