[mapguide-trac] #471: Add format to Base Layer Group in a mapDefinition

MapGuide Open Source trac_mapguide at osgeo.org
Sat Mar 1 21:33:55 EST 2008


#471: Add format to Base Layer Group in a mapDefinition
----------------------------+-----------------------------------------------
   Reporter:  zspitzer      |       Owner:     
       Type:  enhancement   |      Status:  new
   Priority:  medium        |   Milestone:     
  Component:  Tile Service  |     Version:     
   Severity:  major         |    Keywords:     
External_id:                |  
----------------------------+-----------------------------------------------
 Currently the format for tiles from the Tile Service is a server wide
 parameter.

 Add an optional Format parameter to mapDefinition, per BaseMapLayerGroup.
 This is an optional parameter which defaults to the Tile Service Format
 when it's not defined.

 <MapDefinition xsi:noNamespaceSchemaLocation="MapDefinition-1.0.0.xsd">
         <BaseMapDefinition>
                 <BaseMapLayerGroup>
                         <Name>Roads</Name>
                         <Visible>true</Visible>
                         <ShowInLegend>true</ShowInLegend>
                         <ExpandInLegend>true</ExpandInLegend>
                         '''<Format>PNG8</Format>'''
                         <LegendLabel/>
                         <BaseMapLayer/>
                 </BaseMapLayerGroup>
                 <BaseMapLayerGroup>
                         <Name>Satellite</Name>
                         <Visible>true</Visible>
                         <ShowInLegend>true</ShowInLegend>
                         <ExpandInLegend>true</ExpandInLegend>
                         '''<Format>JPG</Format>'''
                         <LegendLabel/>
                         <BaseMapLayer/>
                 </BaseMapLayerGroup>
         </BaseMapDefinition>
 </MapDefinition>

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/471>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list