First :
In my case it was enough to define it in the configuration file for the
WMS datasource
....
<SchemaMapping provider="OSGeo.WMS.3.1" name="WMS"
xmlns="http://fdowms.osgeo.org/schemas">
<complexType name="ByggType">
<RasterDefinition name="Image">
<Format>PNG</Format>
* <Transparent>true</Transparent>
* <BackgroundColor>0xFFFFFF</BackgroundColor>
<Time>current</Time>
<Elevation>0</Elevation>
<SpatialContext>EPSG:32632</SpatialContext>
<Layer name="VERANDA">
<Style/>
</Layer>
<Layer name="TAKSPRANG">
<Style/>
</Layer>
.....
Stefan Dalakov
stoff wrote:
Hi,
I have a new and an old problem :
First I am still looking for a solution about transparency
Do I have to configure it in the layerdefinition.xml AND in the called URL(
... ?service=wms&transparent=true)?
Second problem:
Loading of the wms layer works fine. But in the legend.aspx
BuildLayerDeifinitionData-Function there is an encoding-problem in the row
"doc.LoadXML(layerDefString). He finds a char code 65279 as first Charakter
.... strange, because loading of the layerdefinition works fine, and there
is no charakter like this in the xml-file ...
Is there a posibility to use explicitly UTF-8 Encoding within the mapguide
resource-classes?
Best regards,
Christoph
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users