[OpenLayers-Users] Layer name with spaces

Aitor Calero Garcia aitor.calero at usm.es
Wed Jan 10 06:57:47 EST 2007


Are there any problem adding layers with spaces in its name, like "my wms layer", or with strings length? I know this is not good but I have to deal with those names. Complete example:

 

new OpenLayers.Layer.WMS("Autovía en Servicio",

                  servidorGeomedia,

                  {layers: "Attribute Query of DESASIGI.WECA_SIGI_V_CARRETERAS,Attribute Query of DESASIGI.WECA_SIGI_V_CARRETERAS1,Attribute Query of DESASIGI.WECA_SIGI_V_CARRETERAS11,Attribute Query of DESASIGI.WECA_SIGI_V_CARRETERAS7",

                  transparent: "true",

                  format: "image/png"},

                  {isBaseLayer: false})

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070110/4817f8b9/attachment.html


More information about the Users mailing list