hi
i have code
GEvent.addListener(
cont.items.map.Gmap_panel_test.gmap,
'click',
function(e,xy){
var point = new GLatLng(xy.x, xy.y);
var marker = new GMarker(point, {draggable: true});
this.addOverlay(marker);
Ext.Msg.alert('You click at','lat: '+xy.x+',long:'+xy.y)
return marker; }
)
but there is no set marker
only alert
why?
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.