[OpenLayers-Users] Overlayed div on the map

Alexandre Dube adube at mapgears.com
Thu Feb 5 08:45:41 EST 2009


Hi,

I just checked Map.js. Maybe you could use some of its methods to create 
a div and add it to you map.viewPortDiv the same way other Openlayers 
div are added to the map viewport.

Just an idea...

Best of luck,

Alexandre

goliah wrote:
> Dear all,
>
> I'd like to superimpose a div on the map (for showing a legend in my case).
> Do you know any smart way to do it?
> Actually I'm using html/css for this, but I'd prefer an OpenLayers method,
> if possible.
>
> Thanks a lot
>
> Mauro
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list