[OpenLayers-Users] using default transparency from service

Andreas Hocevar ahocevar at opengeo.org
Fri Mar 2 12:44:12 EST 2012


Hi,

do you have your WMS layer configured with something like

{layers: "mylayer", transparent: true, format: "image/png"}

Then things should work.

Andreas.

On Wed, Feb 29, 2012 at 9:17 PM, spiveygb <brett.spivey at nc.gov> wrote:
> When accessing services from ArcGIS Server, either REST or WMS, the layers
> are opaque although they have some transparency by default. Is there no way
> to have the layers draw as intended directly from the service? I know I can
> set opacity when creating the layer but users can add or access
> services/layers from many different servers (that aren't mine). In other
> words, I don't know what services or layers they may add. Therefore, I don't
> want to "assign" a static transparency value for every one of them by
> default in the code.
> ________________________________
> View this message in context: using default transparency from service
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list