[OpenLayers-Users] GetLegend Request
Barend Köbben
kobben at itc.nl
Fri May 4 16:10:13 EDT 2007
...and if you use an SLD-enabled WMS such as Geoserver or Mapserver in WMSmode, you can just include the legend as an image on your web page:
<IMG src=http://myserver?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=myLayer&Format=image/png <https://webmail.itc.nl/exchweb/bin/redir.asp?URL=http://myserver?SERVICE=WMS%26VERSION=1.1.1%26REQUEST=GetLegendGraphic%26LAYER=myLayer%26Format=image/png> />
--
Barend Köbben
International Institute for Geo-information Sciences and Earth Observation (ITC)
PO Box 6, 7500AA Enschede (The Netherlands)
ph: +31-(0)534874253;
________________________________
From: users-bounces at openlayers.org on behalf of Christopher Schmidt
Sent: Fri 5/4/2007 13:27
To: ben afia olfa
Cc: openlayer
Subject: Re: [OpenLayers-Users] GetLegend Request
On Fri, May 04, 2007 at 10:27:02AM +0000, ben afia olfa wrote:
> Hi all
> Is openlayers is offering ways to get a map's legend by requesting a server like geoserver ?
In general, I believe this is something that should be done at the
application level. Clean patches accepted, as always.
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list