multiple legends

Gustavo Henrique Sberze Ribas gribas at CPQD.COM.BR
Thu Aug 11 07:09:24 EDT 2005


Hello Jo,
  
  What about a direct GetLegendGraphic request?

 http://localhost/cgi-bin/ms_wms?service=WMS&version=1.1.1&request=GetLegendGraphic&format=image/gif&layer=layerName

--
Gustavo

> Hi List,
>  
> I have produced a "print friendly" version of my map, without 
> navigation buttons etc, which launches when you click a 
> button in my main map. In my main map I am using a html 
> legend, with check-boxes for turning layers on and off, but 
> in my print-friendly map I would prefer to have the simple 
> gif legend, or at least no check boxes. The best I have 
> managed so far is to list the layers using the [layers] 
> variable, but that won't give me icons. Is there a way of 
> using the gif legend when you have specified an html legend 
> template in your map file, or any way of using a second html 
> template? Or, am I looking at producing a second map file?
>  
> Thanks
>  
> Jo
>  
> -------------------------------------------
> Joanne Cook
> Information Systems Coordinator
> Oxford Archaeology North
> -------------------------------------------
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> 



More information about the mapserver-users mailing list