Hi
This question has been laying around for a few weeks, but I answer it
anyway.
First q:
Sorry, but from the code it looks like we do not get the coordinates. The
only way could be to overwrite
OpenLayers.Events.featureclick.prototype.onClick = function() {...}
And add the mouseclick event in the event object.
Second q:
In this case you might want to use a Click Control instead. See
http://openlayers.org/dev/examples/click.html
Events here should have coordinates as well.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Simple-coordinate-displaying-with-layer-listener-and-activation-deactivation-tp5137963p5139523.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users