Hi,
Yes, it's possible. You could create your own OpenLayers.Control
with a click handler like the one in this example [1] and add it using a
GeoExt.Action like in that example [2]. What the control should do is
completely up to you.
HTH,
Alexandre
[1]
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/click-handler.html
[2] http://api.geoext.org/1.0/examples/toolbar.html
On 11-06-13 11:58 AM, Paul james wrote:
Hello...
I have a GeoExt toolbar... I´d like to add a button that show an ALERT
window with Coordinate when the user click on map...
Example: User select that custom tool on toolbar, click on map and it
shows the Alert "Lat : 30 Long 50"
Is it possible?
Thanks
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users