Changes between Version 2 and Version 3 of FdoWmsNotes


Ignore:
Timestamp:
Feb 14, 2008, 3:31:53 PM (16 years ago)
Author:
amorsell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FdoWmsNotes

    v2 v3  
    9595Once the substitutions have been made save the file.
    9696
     97== Multiple WMS Layers in a Single MapGuide Layer ==
     98To get multiple WMS layers in a single MapGuide layer, it is enough to specify multiple Layer tags in the configuration document.  When the resulting feature class (i.e., name substituted for %!FeatureClassName%) is specified in a layer, the layer will display all of the specified WMS layers. The following XML snippet shows how the multiple layers are specified:
     99
     100{{{
     101
     102<RasterDefinition name="Image">
     103        <Format>PNG</Format>
     104        <Transparent>true</Transparent>
     105        <BackgroundColor>0xFFFFFF</BackgroundColor>
     106        <Time>current</Time>
     107        <Elevation>0</Elevation>
     108        <SpatialContext>EPSG:4326</SpatialContext>
     109        <Layer name="%LayerName1%">
     110          <Style/>
     111        </Layer>
     112        <Layer name="%LayerName2%">
     113          <Style/>
     114        </Layer>
     115        <Layer name="%LayerName3%">
     116          <Style/>
     117        </Layer>
     118</RasterDefinition>
     119
     120}}}
    97121