<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi all!<BR>
does anybody knows how can i add a legend to my map? I've made a map using mapserver wms layers,<BR>
thanks in advanced,<BR>
xavi<BR><BR><BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Wed, 3 Oct 2007 12:11:58 +0200<BR>> From: penyaskito@gmail.com<BR>> To: prasad.choudhary@gmail.com<BR>> CC: users@openlayers.org<BR>> Subject: Re: [OpenLayers-Users] Layer switcher out of Map<BR>> <BR>> Hi Prasad,<BR>> <BR>> You can do it if you build the control like this:<BR>> new OpenLayers.Control.LayerSwitcher({'div':document.getElementById('my')})<BR>> <BR>> Having a div with id = 'my' in your html.<BR>> <BR>> Hope this helps.<BR>> <BR>> On 10/3/07, Prasad Choudhary <prasad.choudhary@gmail.com> wrote:<BR>> ><BR>> > sorry for partial info,<BR>> > the site is http://www.ongmap.com<BR>> ><BR>> > Thanks<BR>> > Prasad<BR>> ><BR>> ><BR>> > Prasad Choudhary wrote:<BR>> > ><BR>> > > Hello All,<BR>> > ><BR>> > ><BR>> > > I saw a Mash up site build on google map, ongmap which uses Ext.js as<BR>> > > well, but i was not able to understand how to take Layer Switcher out of<BR>> > > map??<BR>> > > like Google,yahoo map, anyone tried stuff like this.<BR>> > ><BR>> > > Thanks<BR>> > > Prasad.<BR>> > ><BR>> ><BR>> > --<BR>> > View this message in context: http://www.nabble.com/Layer-switcher-out-of-Map-tf4560604.html#a13015234<BR>> > Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>> ><BR>> > _______________________________________________<BR>> > Users mailing list<BR>> > Users@openlayers.org<BR>> > http://openlayers.org/mailman/listinfo/users<BR>> ><BR>> <BR>> <BR>> -- <BR>> Regards,<BR>> <BR>> Christian López Espínola<BR>> _______________________________________________<BR>> Users mailing list<BR>> Users@openlayers.org<BR>> http://openlayers.org/mailman/listinfo/users<BR><BR><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>