[OpenLayers-Dev] Changing the WMS displayed on button click
Darko Radiceski
radiceski at gmail.com
Tue Jun 3 04:26:13 EDT 2008
Greetings all,
I have 2 map displays on the page each displaying different set of data. For
example Aerial image views from two different areas.
Is it possible to have button controlls outside the map that when clicked
they will change the data displayed in the map display?
Essentially i would like to point to a different WMS layer. Similar to what
the layer switcher does but i would like to do that through an external
button.
I was thinking of maybe on the button click to destroy the layer on the two
maps and then re-add the new layers. I dont know if this would be the most
productive way?
Any advice?
Sincerely
Dan
--
Radiceski Darko
University of Wollongong
Australia
SIFE - UOW Chapter - Alumni
Univeristy of Wollongong - Alumni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080603/2d00ad19/attachment.html
More information about the Dev
mailing list