[Users] legend for OpenLayers.Layer.Image

Charlton Galvarino charlton at 2creek.com
Thu Sep 23 18:43:54 CEST 2010


> Sadly, something like this (if I am interpreting your suggestion
> correctly), doesn't magically make the legend appear:
> 
>   map.addLayer(new OpenLayers.Layer.Image(
>      name
>     ,urlLyr
>     ,bounds
>     ,size
>     ,{isBaseLayer : false,opacity : 1,legendUrl : urlLeg}
>   ));

Same no-go w/ legendURL.


More information about the Users mailing list