You need to use the getMap() method. This should work..


var myLatlng = new google.maps.LatLng(lat, lon);
var map = Ext.getCmp('mypoi').getMap();
var marker = new google.maps.Marker({
...