Changes between Initial Version and Version 1 of MapGuideRfc134


Ignore:
Timestamp:
May 13, 2013, 6:45:14 AM (11 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc134

    v1 v1  
     1
     2= !MapGuide RFC 134 - HTTP Runtime Map Creation =
     3
     4This page contains a change request (RFC) for the !MapGuide Open Source project.
     5More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page.
     6
     7
     8== Status ==
     9
     10||RFC Template Version||(1.0)||
     11||Submission Date||13 May 2013||
     12||Last Modified||13 May 2013||
     13||Author||Jackie Ng||
     14||RFC Status||draft||
     15||Implementation Status||pending||
     16||Proposed Milestone||2.6||
     17||Assigned PSC guide(s)||(when determined)||
     18||'''Voting History'''||(vote date)||
     19||+1||||
     20||+0||||
     21||-0||||
     22||-1||||
     23||no vote|| ||
     24
     25== Overview ==
     26
     27This RFC proposes to add support for creating Runtime Maps via the mapagent
     28
     29== Motivation ==
     30
     31It is currently not possible for a client-side application to be able to create a Runtime Map. Current workarounds include:
     32
     33a) Implementing a helper script via the Web Extensions API to return the key pieces of information needed to work and interact with a runtime map. The [http://dev.openlayers.org/releases/OpenLayers-2.12/examples/mapguide.html MapGuide OpenLayers sample] requires the client application specify key missing information that only the Web Extensions API can provide:
     34   * Session ID
     35   * Map Name
     36   * Coordinate System (WKT/EPSG code)
     37   * Meters-Per-Unit
     38b) Using the Maestro API in .net to construct the Runtime Map client-side by building the expected binary blob (that will be saved server-side) containing the initial runtime map state. This is somewhat of a hack as it relies on undocumented internals of the runtime map blob being serialized that could change with any new release of MapGuide.
     39
     40There is no way to build a Runtime Map client-side without the assistance of the Web Extensions API or a hacky solution like Maestro. This RFC addresses this shortcoming.
     41
     42== Proposed Solution ==
     43
     44We introduce a new operation to the mapagent: CREATERUNTIMEMAP
     45
     46This new operation has the following parameters (in addition to the standard OPERATION, VERSION, LOCALE, SESSION, USERNAME, PASSWORD and FORMAT parameters)
     47
     48||Name||Description||Required||
     49||MAPDEFINITION||The resource id of the Map Definition to create a Runtime Map from||Yes||
     50||REQUESTEDFEATURES||A bitmask specifying what pieces of information to includein the CREATERUNTIMEMAP response||No||
     51||ICONSPERSCALERANGE||The number of icons to render inline (as base64 images) per scale range in each layer of the map||No||
     52
     53The REQUESTEDFEATURES parameters can be logically ORed with the following values:
     54 * 1 - The basic layer and group structure is returned.
     55 * 2 - Associated style icons are returned with each layer. This value only takes effect if (1) was logically ORed into the mask.
     56 * 4 - Feature Source information is included with each layer. This value only takes effect if (1) was logically ORed into the mask.
     57
     58The ICONSPERSCALERANGE parameter is used to apply "theme compression". If a given layer contains a scale range whose number of rules exceeds the given number, only the first and last rule items will have icons rendered inline, with the assumption that a client-application will "compress" the remaining rules when displaying in an interactive legend control. This is what the AJAX and Fusion viewers both currently do. If this parameter is not specified, and the REQUESTEDFEATURES include a request for icons (2), then a default value of 25 will be used (same value we currently use for LoadMap.php and LoadScaleRanges.php for Fusion).
     59
     60Inline icons are rendered as base64 strings. With an associated mime type included, allowing for browsers to construct the relevant data URIs client-side.
     61
     62The REQUESTDFEATURES parameter allows for scalable CREATERUNTIMEMAP responses depending on the needs of the client application. As part of this RFC, Fusion will use CREATERUNTIMEMAP for its map initialization if it determined that the server support is there, allowing it to bypass the asynchronous call chain to LoadMap.php and LoadScaleRanges.php
     63
     64JSON output format is supported, and provides the same benefits as other operations that support JSON output.
     65
     66Some example responses below (all using the Sheboygan Map Definition):
     67
     68A CREATERUNTIMEMAP request without the REQUESTEDFEATURES looks like this:
     69
     70{{{
     71<RuntimeMap>
     72  <SiteVersion>2.6.0.0</SiteVersion>
     73  <SessionId>efaa467a-bbcd-11e2-8000-080027004461_en_MTI3LjAuMC4x0B060B050B04</SessionId>
     74  <Name>Sheboygan</Name>
     75  <MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
     76  <CoordinateSystem>
     77    <Wkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==&gt; +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</Wkt>
     78    <MentorCode>LL84</MentorCode>
     79    <EpsgCode>4326</EpsgCode>
     80    <MetersPerUnit>111319.49079327358</MetersPerUnit>
     81  </CoordinateSystem>
     82  <Extents>
     83    <LowerLeftCoordinate>
     84      <X>-87.764986990962839</X>
     85      <Y>43.691398128787782</Y>
     86    </LowerLeftCoordinate>
     87    <UpperRightCoordinate>
     88      <X>-87.695521510899724</X>
     89      <Y>43.797520000480347</Y>
     90    </UpperRightCoordinate>
     91  </Extents>
     92</RuntimeMap>
     93}}}
     94
     95This response contains the minimal information required for a client mapping library like OpenLayers to build a basic map viewer out of. It also contains the required session id and map name needed to dispatch additional mapagent requests for other operations that operate against the runtime map like rendering (GETDYNAMICMAPOVERLAYIMAGE) and feature selection (QUERYMAPFEATURES). The MapGuide Site Version is included so the client application can make (generally safe) assumptions about what level of API/operation support is available from the mapagent.
     96
     97The session id is either passed in via the SESSION request parameter, or generated via the USERNAME/PASSWORD request parameters or a successful HTTP basic authentication challenge. Therefore, CREATERUNTIMEMAP serves the same function as the CREATESESSION operation, negating the need to fire off this request first beforehand by the client application.
     98
     99The various permutations of the REQUESTEDFEATURES bitmask extend upon the basic minimal XML response with additional information, all detailed below.
     100
     101REQUESTEDFEATURES = 1 (with basic layer/group structure):
     102{{{
     103<RuntimeMap>
     104  <SiteVersion>2.6.0.0</SiteVersion>
     105  <SessionId>b5790166-bbce-11e2-8000-080027004461_en_MTI3LjAuMC4x0B060B050B04</SessionId>
     106  <Name>Sheboygan</Name>
     107  <MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
     108  <CoordinateSystem>
     109    <Wkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==&gt; +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</Wkt>
     110    <MentorCode>LL84</MentorCode>
     111    <EpsgCode>4326</EpsgCode>
     112    <MetersPerUnit>111319.49079327358</MetersPerUnit>
     113  </CoordinateSystem>
     114  <Extents>
     115    <LowerLeftCoordinate>
     116      <X>-87.764986990962839</X>
     117      <Y>43.691398128787782</Y>
     118    </LowerLeftCoordinate>
     119    <UpperRightCoordinate>
     120      <X>-87.695521510899724</X>
     121      <Y>43.797520000480347</Y>
     122    </UpperRightCoordinate>
     123  </Extents>
     124  <Group>
     125    <Name>Base Map</Name>
     126    <LegendLabel>Base Map</LegendLabel>
     127    <ObjectId>b57caaf0-bbce-11e2-8000-080027004461</ObjectId>
     128    <DisplayInLegend>true</DisplayInLegend>
     129    <ExpandInLegend>true</ExpandInLegend>
     130    <Visible>true</Visible>
     131    <ActuallyVisible>true</ActuallyVisible>
     132    <Layer>
     133      <Type>1</Type>
     134      <LayerDefinition>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</LayerDefinition>
     135      <Name>Islands</Name>
     136      <LegendLabel>Islands</LegendLabel>
     137      <ObjectId>b57cf910-bbce-11e2-8001-080027004461</ObjectId>
     138      <DisplayInLegend>true</DisplayInLegend>
     139      <ExpandInLegend>true</ExpandInLegend>
     140      <Visible>true</Visible>
     141      <ActuallyVisible>true</ActuallyVisible>
     142    </Layer>
     143    <Layer>
     144      <Type>1</Type>
     145      <LayerDefinition>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</LayerDefinition>
     146      <Name>Hydrography</Name>
     147      <LegendLabel>Hydrography</LegendLabel>
     148      <ObjectId>b57cf910-bbce-11e2-8002-080027004461</ObjectId>
     149      <DisplayInLegend>true</DisplayInLegend>
     150      <ExpandInLegend>true</ExpandInLegend>
     151      <Visible>true</Visible>
     152      <ActuallyVisible>true</ActuallyVisible>
     153    </Layer>
     154    <Layer>
     155      <Type>1</Type>
     156      <LayerDefinition>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</LayerDefinition>
     157      <Name>CityLimits</Name>
     158      <LegendLabel>CityLimits</LegendLabel>
     159      <ObjectId>b57cf910-bbce-11e2-8003-080027004461</ObjectId>
     160      <DisplayInLegend>true</DisplayInLegend>
     161      <ExpandInLegend>true</ExpandInLegend>
     162      <Visible>true</Visible>
     163      <ActuallyVisible>true</ActuallyVisible>
     164    </Layer>
     165  </Group>
     166  <Group>
     167    <Name>Municipal</Name>
     168    <LegendLabel>Municipal</LegendLabel>
     169    <ObjectId>b57caaf0-bbce-11e2-8001-080027004461</ObjectId>
     170    <DisplayInLegend>true</DisplayInLegend>
     171    <ExpandInLegend>true</ExpandInLegend>
     172    <Visible>true</Visible>
     173    <ActuallyVisible>true</ActuallyVisible>
     174    <Layer>
     175      <Type>1</Type>
     176      <LayerDefinition>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</LayerDefinition>
     177      <Name>Districts</Name>
     178      <LegendLabel>Districts</LegendLabel>
     179      <ObjectId>b57cd200-bbce-11e2-8002-080027004461</ObjectId>
     180      <DisplayInLegend>true</DisplayInLegend>
     181      <ExpandInLegend>true</ExpandInLegend>
     182      <Visible>true</Visible>
     183      <ActuallyVisible>false</ActuallyVisible>
     184    </Layer>
     185    <Layer>
     186      <Type>1</Type>
     187      <LayerDefinition>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</LayerDefinition>
     188      <Name>Buildings</Name>
     189      <LegendLabel>Buildings</LegendLabel>
     190      <ObjectId>b57cd200-bbce-11e2-8003-080027004461</ObjectId>
     191      <DisplayInLegend>true</DisplayInLegend>
     192      <ExpandInLegend>true</ExpandInLegend>
     193      <Visible>true</Visible>
     194      <ActuallyVisible>true</ActuallyVisible>
     195    </Layer>
     196    <Layer>
     197      <Type>1</Type>
     198      <LayerDefinition>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</LayerDefinition>
     199      <Name>Parcels</Name>
     200      <LegendLabel>Parcels</LegendLabel>
     201      <ObjectId>b57cf910-bbce-11e2-8000-080027004461</ObjectId>
     202      <DisplayInLegend>true</DisplayInLegend>
     203      <ExpandInLegend>true</ExpandInLegend>
     204      <Visible>true</Visible>
     205      <ActuallyVisible>true</ActuallyVisible>
     206    </Layer>
     207  </Group>
     208  <Group>
     209    <Name>Transportation</Name>
     210    <LegendLabel>Transportation</LegendLabel>
     211    <ObjectId>b57caaf0-bbce-11e2-8002-080027004461</ObjectId>
     212    <DisplayInLegend>true</DisplayInLegend>
     213    <ExpandInLegend>true</ExpandInLegend>
     214    <Visible>true</Visible>
     215    <ActuallyVisible>true</ActuallyVisible>
     216    <Layer>
     217      <Type>1</Type>
     218      <LayerDefinition>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</LayerDefinition>
     219      <Name>Roads</Name>
     220      <LegendLabel>Roads</LegendLabel>
     221      <ObjectId>b57cd200-bbce-11e2-8000-080027004461</ObjectId>
     222      <DisplayInLegend>true</DisplayInLegend>
     223      <ExpandInLegend>true</ExpandInLegend>
     224      <Visible>true</Visible>
     225      <ActuallyVisible>true</ActuallyVisible>
     226    </Layer>
     227    <Layer>
     228      <Type>1</Type>
     229      <LayerDefinition>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</LayerDefinition>
     230      <Name>Rail Lines</Name>
     231      <LegendLabel>Rail Lines</LegendLabel>
     232      <ObjectId>b57cd200-bbce-11e2-8001-080027004461</ObjectId>
     233      <DisplayInLegend>true</DisplayInLegend>
     234      <ExpandInLegend>true</ExpandInLegend>
     235      <Visible>false</Visible>
     236      <ActuallyVisible>false</ActuallyVisible>
     237    </Layer>
     238  </Group>
     239</RuntimeMap>
     240}}}
     241
     242REQUESTEDFEATURES = 3 (Basic layer/group structure with inline icons)
     243{{{
     244<RuntimeMap>
     245  <SiteVersion>2.6.0.0</SiteVersion>
     246  <SessionId>eaf1bcda-bbd2-11e2-8000-080027004461_en_MTI3LjAuMC4x0B060B050B04</SessionId>
     247  <Name>Sheboygan</Name>
     248  <MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
     249  <CoordinateSystem>
     250    <Wkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==&gt; +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</Wkt>
     251    <MentorCode>LL84</MentorCode>
     252    <EpsgCode>4326</EpsgCode>
     253    <MetersPerUnit>111319.49079327358</MetersPerUnit>
     254  </CoordinateSystem>
     255  <Extents>
     256    <LowerLeftCoordinate>
     257      <X>-87.764986990962839</X>
     258      <Y>43.691398128787782</Y>
     259    </LowerLeftCoordinate>
     260    <UpperRightCoordinate>
     261      <X>-87.695521510899724</X>
     262      <Y>43.797520000480347</Y>
     263    </UpperRightCoordinate>
     264  </Extents>
     265  <Group>
     266    <Name>Base Map</Name>
     267    <LegendLabel>Base Map</LegendLabel>
     268    <ObjectId>eaf58d7e-bbd2-11e2-8000-080027004461</ObjectId>
     269    <DisplayInLegend>true</DisplayInLegend>
     270    <ExpandInLegend>true</ExpandInLegend>
     271    <Visible>true</Visible>
     272    <ActuallyVisible>true</ActuallyVisible>
     273    <Layer>
     274      <Type>1</Type>
     275      <LayerDefinition>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</LayerDefinition>
     276      <Name>Islands</Name>
     277      <LegendLabel>Islands</LegendLabel>
     278      <ObjectId>eaf5db9e-bbd2-11e2-8000-080027004461</ObjectId>
     279      <DisplayInLegend>true</DisplayInLegend>
     280      <ExpandInLegend>true</ExpandInLegend>
     281      <Visible>true</Visible>
     282      <ActuallyVisible>true</ActuallyVisible>
     283      <ScaleRange>
     284        <MinScale>0</MinScale>
     285        <MaxScale>1000000000000</MaxScale>
     286        <Rule>
     287          <GeometryType>3</GeometryType>
     288          <ThemeCategory>0</ThemeCategory>
     289          <LegendLabel/>
     290          <Filter/>
     291          <Icon>
     292            <MimeType>image/png</MimeType>
     293            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     294          </Icon>
     295        </Rule>
     296      </ScaleRange>
     297    </Layer>
     298    <Layer>
     299      <Type>1</Type>
     300      <LayerDefinition>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</LayerDefinition>
     301      <Name>Hydrography</Name>
     302      <LegendLabel>Hydrography</LegendLabel>
     303      <ObjectId>eaf5db9e-bbd2-11e2-8001-080027004461</ObjectId>
     304      <DisplayInLegend>true</DisplayInLegend>
     305      <ExpandInLegend>true</ExpandInLegend>
     306      <Visible>true</Visible>
     307      <ActuallyVisible>true</ActuallyVisible>
     308      <ScaleRange>
     309        <MinScale>0</MinScale>
     310        <MaxScale>1000000000000</MaxScale>
     311        <Rule>
     312          <GeometryType>3</GeometryType>
     313          <ThemeCategory>0</ThemeCategory>
     314          <LegendLabel/>
     315          <Filter/>
     316          <Icon>
     317            <MimeType>image/png</MimeType>
     318            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWNcffwlAymAiSTVoxpGNQwpDQBmNQJ7CUalHwAAAABJRU5ErkJggg==</Content>
     319          </Icon>
     320        </Rule>
     321      </ScaleRange>
     322    </Layer>
     323    <Layer>
     324      <Type>1</Type>
     325      <LayerDefinition>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</LayerDefinition>
     326      <Name>CityLimits</Name>
     327      <LegendLabel>CityLimits</LegendLabel>
     328      <ObjectId>eaf5db9e-bbd2-11e2-8002-080027004461</ObjectId>
     329      <DisplayInLegend>true</DisplayInLegend>
     330      <ExpandInLegend>true</ExpandInLegend>
     331      <Visible>true</Visible>
     332      <ActuallyVisible>true</ActuallyVisible>
     333      <ScaleRange>
     334        <MinScale>0</MinScale>
     335        <MaxScale>10000</MaxScale>
     336        <Rule>
     337          <GeometryType>3</GeometryType>
     338          <ThemeCategory>0</ThemeCategory>
     339          <LegendLabel/>
     340          <Filter/>
     341          <Icon>
     342            <MimeType>image/png</MimeType>
     343            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWM8cOAAAymAiSTVoxpGNQwpDQAT+QJghokBTgAAAABJRU5ErkJggg==</Content>
     344          </Icon>
     345        </Rule>
     346      </ScaleRange>
     347      <ScaleRange>
     348        <MinScale>10000</MinScale>
     349        <MaxScale>1000000000000</MaxScale>
     350        <Rule>
     351          <GeometryType>3</GeometryType>
     352          <ThemeCategory>0</ThemeCategory>
     353          <LegendLabel/>
     354          <Filter/>
     355          <Icon>
     356            <MimeType>image/png</MimeType>
     357            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     358          </Icon>
     359        </Rule>
     360      </ScaleRange>
     361    </Layer>
     362  </Group>
     363  <Group>
     364    <Name>Municipal</Name>
     365    <LegendLabel>Municipal</LegendLabel>
     366    <ObjectId>eaf58d7e-bbd2-11e2-8001-080027004461</ObjectId>
     367    <DisplayInLegend>true</DisplayInLegend>
     368    <ExpandInLegend>true</ExpandInLegend>
     369    <Visible>true</Visible>
     370    <ActuallyVisible>true</ActuallyVisible>
     371    <Layer>
     372      <Type>1</Type>
     373      <LayerDefinition>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</LayerDefinition>
     374      <Name>Districts</Name>
     375      <LegendLabel>Districts</LegendLabel>
     376      <ObjectId>eaf5b48e-bbd2-11e2-8002-080027004461</ObjectId>
     377      <DisplayInLegend>true</DisplayInLegend>
     378      <ExpandInLegend>true</ExpandInLegend>
     379      <Visible>true</Visible>
     380      <ActuallyVisible>false</ActuallyVisible>
     381      <ScaleRange>
     382        <MinScale>10000</MinScale>
     383        <MaxScale>1000000000000</MaxScale>
     384        <Rule>
     385          <GeometryType>3</GeometryType>
     386          <ThemeCategory>0</ThemeCategory>
     387          <LegendLabel/>
     388          <Filter/>
     389          <Icon>
     390            <MimeType>image/png</MimeType>
     391            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOUlEQVQokWPcs6JOTFabgTjw6vFVhktHV/4nGlw6upKJSLPhYFTDqAZqaWB59fjq5WOriFT96vFVACkEOt/4XD28AAAAAElFTkSuQmCC</Content>
     392          </Icon>
     393        </Rule>
     394      </ScaleRange>
     395    </Layer>
     396    <Layer>
     397      <Type>1</Type>
     398      <LayerDefinition>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</LayerDefinition>
     399      <Name>Buildings</Name>
     400      <LegendLabel>Buildings</LegendLabel>
     401      <ObjectId>eaf5b48e-bbd2-11e2-8003-080027004461</ObjectId>
     402      <DisplayInLegend>true</DisplayInLegend>
     403      <ExpandInLegend>true</ExpandInLegend>
     404      <Visible>true</Visible>
     405      <ActuallyVisible>true</ActuallyVisible>
     406      <ScaleRange>
     407        <MinScale>0</MinScale>
     408        <MaxScale>1500</MaxScale>
     409        <Rule>
     410          <GeometryType>3</GeometryType>
     411          <ThemeCategory>0</ThemeCategory>
     412          <LegendLabel/>
     413          <Filter/>
     414          <Icon>
     415            <MimeType>image/png</MimeType>
     416            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWM8evToy5cvGYgD4uLiLC9fvrx06RKRGvT09JiIVAoHoxpGNVBLA4u4uLienh6RqsXFxQHMyAxCMWcM4QAAAABJRU5ErkJggg==</Content>
     417          </Icon>
     418        </Rule>
     419      </ScaleRange>
     420    </Layer>
     421    <Layer>
     422      <Type>1</Type>
     423      <LayerDefinition>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</LayerDefinition>
     424      <Name>Parcels</Name>
     425      <LegendLabel>Parcels</LegendLabel>
     426      <ObjectId>eaf5b48e-bbd2-11e2-8004-080027004461</ObjectId>
     427      <DisplayInLegend>true</DisplayInLegend>
     428      <ExpandInLegend>true</ExpandInLegend>
     429      <Visible>true</Visible>
     430      <ActuallyVisible>true</ActuallyVisible>
     431      <ScaleRange>
     432        <MinScale>0</MinScale>
     433        <MaxScale>10000</MaxScale>
     434        <Rule>
     435          <GeometryType>3</GeometryType>
     436          <ThemeCategory>0</ThemeCategory>
     437          <LegendLabel>Zone:  AGR</LegendLabel>
     438          <Filter>RTYPE = 'AGR'</Filter>
     439          <Icon>
     440            <MimeType>image/png</MimeType>
     441            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWOc0F4lwPGbgTjw4QcriwDHb0X+r0RquM/AzUSkUjgY1TCqgVoaWD78YL3PwE2k6g8/WAEoyAybnvNMrwAAAABJRU5ErkJggg==</Content>
     442          </Icon>
     443        </Rule>
     444        <Rule>
     445          <GeometryType>3</GeometryType>
     446          <ThemeCategory>1</ThemeCategory>
     447          <LegendLabel>Zone:  EXM</LegendLabel>
     448          <Filter>RTYPE = 'EXM'</Filter>
     449          <Icon>
     450            <MimeType>image/png</MimeType>
     451            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWPs66zh4/rDQBz49I2FhY/rj6zwDyI1PGbgYCJSKRyMahjVQC0NLJ++sTxm4CBS9advLAA9KgyhkvW9tQAAAABJRU5ErkJggg==</Content>
     452          </Icon>
     453        </Rule>
     454        <Rule>
     455          <GeometryType>3</GeometryType>
     456          <ThemeCategory>2</ThemeCategory>
     457          <LegendLabel>Zone:  MER</LegendLabel>
     458          <Filter>RTYPE = 'MER'</Filter>
     459          <Icon>
     460            <MimeType>image/png</MimeType>
     461            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWPs6a7l5fnHQBz4/IWJhZfnn6T4HyI1MDCwMBGtFApGNYxqoJYGls9fmBgYWIhU/fkLEwC9qwrV+OtROgAAAABJRU5ErkJggg==</Content>
     462          </Icon>
     463        </Rule>
     464        <Rule>
     465          <GeometryType>3</GeometryType>
     466          <ThemeCategory>3</ThemeCategory>
     467          <LegendLabel>Zone:  MFG</LegendLabel>
     468          <Filter>RTYPE = 'MFG'</Filter>
     469          <Icon>
     470            <MimeType>image/png</MimeType>
     471            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOUlEQVQokWPs6q3n5mMgEnz9xMDCzccgJv2fSA2vGBiZiDUcBkY1jGqglgaWr58YXjEwEqn66ycGAIUGCqdLv0I4AAAAAElFTkSuQmCC</Content>
     472          </Icon>
     473        </Rule>
     474        <Rule>
     475          <GeometryType>3</GeometryType>
     476          <ThemeCategory>4</ThemeCategory>
     477          <LegendLabel>Zone:  RES</LegendLabel>
     478          <Filter>RTYPE = 'RES'</Filter>
     479          <Icon>
     480            <MimeType>image/png</MimeType>
     481            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAO0lEQVQokWPs7G/kFGBkIA58//CfhVOAUUiemUgN7xj+MhGpFA5GNYxqoJYGlu8f/r9j+Euk6u8f/gMArKMOreezChMAAAAASUVORK5CYII=</Content>
     482          </Icon>
     483        </Rule>
     484        <Rule>
     485          <GeometryType>3</GeometryType>
     486          <ThemeCategory>5</ThemeCategory>
     487          <LegendLabel>Zone:  S&amp;W</LegendLabel>
     488          <Filter>RTYPE = 'S&amp;W'</Filter>
     489          <Icon>
     490            <MimeType>image/png</MimeType>
     491            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAO0lEQVQokWNsn9jMLsTMQBz4+e4vC7sQM78yG5EaPjL8YiJSKRyMahjVQC0NLD/f/f3I8ItI1T/f/QUAw9kOsaqrjjYAAAAASUVORK5CYII=</Content>
     492          </Icon>
     493        </Rule>
     494        <Rule>
     495          <GeometryType>3</GeometryType>
     496          <ThemeCategory>6</ThemeCategory>
     497          <LegendLabel>Zone:  WTC</LegendLabel>
     498          <Filter>RTYPE = 'WTC'</Filter>
     499          <Icon>
     500            <MimeType>image/png</MimeType>
     501            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWNsndzCJsLKQBz49eY3C5sIK7c6F5EaGBi+MRGtFApGNYxqoJYGll9vfjMwfCNS9a83vwEcRQzJpppspAAAAABJRU5ErkJggg==</Content>
     502          </Icon>
     503        </Rule>
     504        <Rule>
     505          <GeometryType>3</GeometryType>
     506          <ThemeCategory>7</ThemeCategory>
     507          <LegendLabel>Zone:  Other</LegendLabel>
     508          <Filter/>
     509          <Icon>
     510            <MimeType>image/png</MimeType>
     511            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAMUlEQVQokWM0NTU1NTVlIA6cPn2axdTUNCsri0gN06ZNYyJSKRyMahjVQC0NjKQmbwAmVgr+9vodNwAAAABJRU5ErkJggg==</Content>
     512          </Icon>
     513        </Rule>
     514      </ScaleRange>
     515    </Layer>
     516  </Group>
     517  <Group>
     518    <Name>Transportation</Name>
     519    <LegendLabel>Transportation</LegendLabel>
     520    <ObjectId>eaf58d7e-bbd2-11e2-8002-080027004461</ObjectId>
     521    <DisplayInLegend>true</DisplayInLegend>
     522    <ExpandInLegend>true</ExpandInLegend>
     523    <Visible>true</Visible>
     524    <ActuallyVisible>true</ActuallyVisible>
     525    <Layer>
     526      <Type>1</Type>
     527      <LayerDefinition>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</LayerDefinition>
     528      <Name>Roads</Name>
     529      <LegendLabel>Roads</LegendLabel>
     530      <ObjectId>eaf5b48e-bbd2-11e2-8000-080027004461</ObjectId>
     531      <DisplayInLegend>true</DisplayInLegend>
     532      <ExpandInLegend>true</ExpandInLegend>
     533      <Visible>true</Visible>
     534      <ActuallyVisible>true</ActuallyVisible>
     535      <ScaleRange>
     536        <MinScale>0</MinScale>
     537        <MaxScale>10000</MaxScale>
     538        <Rule>
     539          <GeometryType>2</GeometryType>
     540          <ThemeCategory>0</ThemeCategory>
     541          <LegendLabel/>
     542          <Filter/>
     543          <Icon>
     544            <MimeType>image/png</MimeType>
     545            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     546          </Icon>
     547        </Rule>
     548      </ScaleRange>
     549      <ScaleRange>
     550        <MinScale>10000</MinScale>
     551        <MaxScale>24000</MaxScale>
     552        <Rule>
     553          <GeometryType>2</GeometryType>
     554          <ThemeCategory>0</ThemeCategory>
     555          <LegendLabel/>
     556          <Filter/>
     557          <Icon>
     558            <MimeType>image/png</MimeType>
     559            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     560          </Icon>
     561        </Rule>
     562      </ScaleRange>
     563    </Layer>
     564    <Layer>
     565      <Type>1</Type>
     566      <LayerDefinition>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</LayerDefinition>
     567      <Name>Rail Lines</Name>
     568      <LegendLabel>Rail Lines</LegendLabel>
     569      <ObjectId>eaf5b48e-bbd2-11e2-8001-080027004461</ObjectId>
     570      <DisplayInLegend>true</DisplayInLegend>
     571      <ExpandInLegend>true</ExpandInLegend>
     572      <Visible>false</Visible>
     573      <ActuallyVisible>false</ActuallyVisible>
     574      <ScaleRange>
     575        <MinScale>0</MinScale>
     576        <MaxScale>24000</MaxScale>
     577        <Rule>
     578          <GeometryType>2</GeometryType>
     579          <ThemeCategory>0</ThemeCategory>
     580          <LegendLabel/>
     581          <Filter/>
     582          <Icon>
     583            <MimeType>image/png</MimeType>
     584            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAb0lEQVQokc2SwQnAIBAE15AmbMpSfdiIWIR3YAn62Dwur0AECULmtY9ZjoVzJLHCsWR/KIwxSilz1Zy70FqLMc4L5uzfcKaUAIiIiFh+oKoAvPfmrF8IIQCotaqq5TfM2T8aJEn23nPOnGKO+9/zXc8lZ5XdLNzmAAAAAElFTkSuQmCC</Content>
     585          </Icon>
     586        </Rule>
     587      </ScaleRange>
     588    </Layer>
     589  </Group>
     590</RuntimeMap>
     591}}}
     592
     593REQUESTEDFEATURES = 7 (Basic layer/group structure with inline icons and Feature Source information)
     594{{{
     595<RuntimeMap>
     596  <SiteVersion>2.6.0.0</SiteVersion>
     597  <SessionId>24698672-bbcf-11e2-8000-080027004461_en_MTI3LjAuMC4x0B060B050B04</SessionId>
     598  <Name>Sheboygan</Name>
     599  <MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
     600  <CoordinateSystem>
     601    <Wkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==&gt; +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</Wkt>
     602    <MentorCode>LL84</MentorCode>
     603    <EpsgCode>4326</EpsgCode>
     604    <MetersPerUnit>111319.49079327358</MetersPerUnit>
     605  </CoordinateSystem>
     606  <Extents>
     607    <LowerLeftCoordinate>
     608      <X>-87.764986990962839</X>
     609      <Y>43.691398128787782</Y>
     610    </LowerLeftCoordinate>
     611    <UpperRightCoordinate>
     612      <X>-87.695521510899724</X>
     613      <Y>43.797520000480347</Y>
     614    </UpperRightCoordinate>
     615  </Extents>
     616  <Group>
     617    <Name>Base Map</Name>
     618    <LegendLabel>Base Map</LegendLabel>
     619    <ObjectId>246d570c-bbcf-11e2-8000-080027004461</ObjectId>
     620    <DisplayInLegend>true</DisplayInLegend>
     621    <ExpandInLegend>true</ExpandInLegend>
     622    <Visible>true</Visible>
     623    <ActuallyVisible>true</ActuallyVisible>
     624    <Layer>
     625      <Type>1</Type>
     626      <LayerDefinition>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</LayerDefinition>
     627      <Name>Islands</Name>
     628      <LegendLabel>Islands</LegendLabel>
     629      <ObjectId>246da52c-bbcf-11e2-8003-080027004461</ObjectId>
     630      <DisplayInLegend>true</DisplayInLegend>
     631      <ExpandInLegend>true</ExpandInLegend>
     632      <Visible>true</Visible>
     633      <ActuallyVisible>true</ActuallyVisible>
     634      <FeatureSource>
     635        <ResourceId>Library://Samples/Sheboygan/Data/Islands.FeatureSource</ResourceId>
     636        <ClassName>SHP_Schema:Islands</ClassName>
     637        <Geometry>SHPGEOM</Geometry>
     638      </FeatureSource>
     639      <ScaleRange>
     640        <MinScale>0</MinScale>
     641        <MaxScale>1000000000000</MaxScale>
     642        <Rule>
     643          <GeometryType>3</GeometryType>
     644          <ThemeCategory>0</ThemeCategory>
     645          <LegendLabel/>
     646          <Filter/>
     647          <Icon>
     648            <MimeType>image/png</MimeType>
     649            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     650          </Icon>
     651        </Rule>
     652      </ScaleRange>
     653    </Layer>
     654    <Layer>
     655      <Type>1</Type>
     656      <LayerDefinition>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</LayerDefinition>
     657      <Name>Hydrography</Name>
     658      <LegendLabel>Hydrography</LegendLabel>
     659      <ObjectId>246da52c-bbcf-11e2-8004-080027004461</ObjectId>
     660      <DisplayInLegend>true</DisplayInLegend>
     661      <ExpandInLegend>true</ExpandInLegend>
     662      <Visible>true</Visible>
     663      <ActuallyVisible>true</ActuallyVisible>
     664      <FeatureSource>
     665        <ResourceId>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</ResourceId>
     666        <ClassName>SHP_Schema:HydrographicPolygons</ClassName>
     667        <Geometry>SHPGEOM</Geometry>
     668      </FeatureSource>
     669      <ScaleRange>
     670        <MinScale>0</MinScale>
     671        <MaxScale>1000000000000</MaxScale>
     672        <Rule>
     673          <GeometryType>3</GeometryType>
     674          <ThemeCategory>0</ThemeCategory>
     675          <LegendLabel/>
     676          <Filter/>
     677          <Icon>
     678            <MimeType>image/png</MimeType>
     679            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWNcffwlAymAiSTVoxpGNQwpDQBmNQJ7CUalHwAAAABJRU5ErkJggg==</Content>
     680          </Icon>
     681        </Rule>
     682      </ScaleRange>
     683    </Layer>
     684    <Layer>
     685      <Type>1</Type>
     686      <LayerDefinition>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</LayerDefinition>
     687      <Name>CityLimits</Name>
     688      <LegendLabel>CityLimits</LegendLabel>
     689      <ObjectId>246da52c-bbcf-11e2-8005-080027004461</ObjectId>
     690      <DisplayInLegend>true</DisplayInLegend>
     691      <ExpandInLegend>true</ExpandInLegend>
     692      <Visible>true</Visible>
     693      <ActuallyVisible>true</ActuallyVisible>
     694      <FeatureSource>
     695        <ResourceId>Library://Samples/Sheboygan/Data/CityLimits.FeatureSource</ResourceId>
     696        <ClassName>SHP_Schema:CityLimits</ClassName>
     697        <Geometry>SHPGEOM</Geometry>
     698      </FeatureSource>
     699      <ScaleRange>
     700        <MinScale>0</MinScale>
     701        <MaxScale>10000</MaxScale>
     702        <Rule>
     703          <GeometryType>3</GeometryType>
     704          <ThemeCategory>0</ThemeCategory>
     705          <LegendLabel/>
     706          <Filter/>
     707          <Icon>
     708            <MimeType>image/png</MimeType>
     709            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWM8cOAAAymAiSTVoxpGNQwpDQAT+QJghokBTgAAAABJRU5ErkJggg==</Content>
     710          </Icon>
     711        </Rule>
     712      </ScaleRange>
     713      <ScaleRange>
     714        <MinScale>10000</MinScale>
     715        <MaxScale>1000000000000</MaxScale>
     716        <Rule>
     717          <GeometryType>3</GeometryType>
     718          <ThemeCategory>0</ThemeCategory>
     719          <LegendLabel/>
     720          <Filter/>
     721          <Icon>
     722            <MimeType>image/png</MimeType>
     723            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     724          </Icon>
     725        </Rule>
     726      </ScaleRange>
     727    </Layer>
     728  </Group>
     729  <Group>
     730    <Name>Municipal</Name>
     731    <LegendLabel>Municipal</LegendLabel>
     732    <ObjectId>246d570c-bbcf-11e2-8001-080027004461</ObjectId>
     733    <DisplayInLegend>true</DisplayInLegend>
     734    <ExpandInLegend>true</ExpandInLegend>
     735    <Visible>true</Visible>
     736    <ActuallyVisible>true</ActuallyVisible>
     737    <Layer>
     738      <Type>1</Type>
     739      <LayerDefinition>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</LayerDefinition>
     740      <Name>Districts</Name>
     741      <LegendLabel>Districts</LegendLabel>
     742      <ObjectId>246da52c-bbcf-11e2-8000-080027004461</ObjectId>
     743      <DisplayInLegend>true</DisplayInLegend>
     744      <ExpandInLegend>true</ExpandInLegend>
     745      <Visible>true</Visible>
     746      <ActuallyVisible>false</ActuallyVisible>
     747      <FeatureSource>
     748        <ResourceId>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</ResourceId>
     749        <ClassName>SDF_2_Schema:VotingDistricts</ClassName>
     750        <Geometry>Data</Geometry>
     751      </FeatureSource>
     752      <ScaleRange>
     753        <MinScale>10000</MinScale>
     754        <MaxScale>1000000000000</MaxScale>
     755        <Rule>
     756          <GeometryType>3</GeometryType>
     757          <ThemeCategory>0</ThemeCategory>
     758          <LegendLabel/>
     759          <Filter/>
     760          <Icon>
     761            <MimeType>image/png</MimeType>
     762            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOUlEQVQokWPcs6JOTFabgTjw6vFVhktHV/4nGlw6upKJSLPhYFTDqAZqaWB59fjq5WOriFT96vFVACkEOt/4XD28AAAAAElFTkSuQmCC</Content>
     763          </Icon>
     764        </Rule>
     765      </ScaleRange>
     766    </Layer>
     767    <Layer>
     768      <Type>1</Type>
     769      <LayerDefinition>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</LayerDefinition>
     770      <Name>Buildings</Name>
     771      <LegendLabel>Buildings</LegendLabel>
     772      <ObjectId>246da52c-bbcf-11e2-8001-080027004461</ObjectId>
     773      <DisplayInLegend>true</DisplayInLegend>
     774      <ExpandInLegend>true</ExpandInLegend>
     775      <Visible>true</Visible>
     776      <ActuallyVisible>true</ActuallyVisible>
     777      <FeatureSource>
     778        <ResourceId>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</ResourceId>
     779        <ClassName>SHP_Schema:BuildingOutlines</ClassName>
     780        <Geometry>SHPGEOM</Geometry>
     781      </FeatureSource>
     782      <ScaleRange>
     783        <MinScale>0</MinScale>
     784        <MaxScale>1500</MaxScale>
     785        <Rule>
     786          <GeometryType>3</GeometryType>
     787          <ThemeCategory>0</ThemeCategory>
     788          <LegendLabel/>
     789          <Filter/>
     790          <Icon>
     791            <MimeType>image/png</MimeType>
     792            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWM8evToy5cvGYgD4uLiLC9fvrx06RKRGvT09JiIVAoHoxpGNVBLA4u4uLienh6RqsXFxQHMyAxCMWcM4QAAAABJRU5ErkJggg==</Content>
     793          </Icon>
     794        </Rule>
     795      </ScaleRange>
     796    </Layer>
     797    <Layer>
     798      <Type>1</Type>
     799      <LayerDefinition>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</LayerDefinition>
     800      <Name>Parcels</Name>
     801      <LegendLabel>Parcels</LegendLabel>
     802      <ObjectId>246da52c-bbcf-11e2-8002-080027004461</ObjectId>
     803      <DisplayInLegend>true</DisplayInLegend>
     804      <ExpandInLegend>true</ExpandInLegend>
     805      <Visible>true</Visible>
     806      <ActuallyVisible>true</ActuallyVisible>
     807      <FeatureSource>
     808        <ResourceId>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</ResourceId>
     809        <ClassName>SHP_Schema:Parcels</ClassName>
     810        <Geometry>SHPGEOM</Geometry>
     811      </FeatureSource>
     812      <ScaleRange>
     813        <MinScale>0</MinScale>
     814        <MaxScale>10000</MaxScale>
     815        <Rule>
     816          <GeometryType>3</GeometryType>
     817          <ThemeCategory>0</ThemeCategory>
     818          <LegendLabel>Zone:  AGR</LegendLabel>
     819          <Filter>RTYPE = 'AGR'</Filter>
     820          <Icon>
     821            <MimeType>image/png</MimeType>
     822            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWOc0F4lwPGbgTjw4QcriwDHb0X+r0RquM/AzUSkUjgY1TCqgVoaWD78YL3PwE2k6g8/WAEoyAybnvNMrwAAAABJRU5ErkJggg==</Content>
     823          </Icon>
     824        </Rule>
     825        <Rule>
     826          <GeometryType>3</GeometryType>
     827          <ThemeCategory>1</ThemeCategory>
     828          <LegendLabel>Zone:  EXM</LegendLabel>
     829          <Filter>RTYPE = 'EXM'</Filter>
     830          <Icon>
     831            <MimeType>image/png</MimeType>
     832            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWPs66zh4/rDQBz49I2FhY/rj6zwDyI1PGbgYCJSKRyMahjVQC0NLJ++sTxm4CBS9advLAA9KgyhkvW9tQAAAABJRU5ErkJggg==</Content>
     833          </Icon>
     834        </Rule>
     835        <Rule>
     836          <GeometryType>3</GeometryType>
     837          <ThemeCategory>2</ThemeCategory>
     838          <LegendLabel>Zone:  MER</LegendLabel>
     839          <Filter>RTYPE = 'MER'</Filter>
     840          <Icon>
     841            <MimeType>image/png</MimeType>
     842            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWPs6a7l5fnHQBz4/IWJhZfnn6T4HyI1MDCwMBGtFApGNYxqoJYGls9fmBgYWIhU/fkLEwC9qwrV+OtROgAAAABJRU5ErkJggg==</Content>
     843          </Icon>
     844        </Rule>
     845        <Rule>
     846          <GeometryType>3</GeometryType>
     847          <ThemeCategory>3</ThemeCategory>
     848          <LegendLabel>Zone:  MFG</LegendLabel>
     849          <Filter>RTYPE = 'MFG'</Filter>
     850          <Icon>
     851            <MimeType>image/png</MimeType>
     852            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOUlEQVQokWPs6q3n5mMgEnz9xMDCzccgJv2fSA2vGBiZiDUcBkY1jGqglgaWr58YXjEwEqn66ycGAIUGCqdLv0I4AAAAAElFTkSuQmCC</Content>
     853          </Icon>
     854        </Rule>
     855        <Rule>
     856          <GeometryType>3</GeometryType>
     857          <ThemeCategory>4</ThemeCategory>
     858          <LegendLabel>Zone:  RES</LegendLabel>
     859          <Filter>RTYPE = 'RES'</Filter>
     860          <Icon>
     861            <MimeType>image/png</MimeType>
     862            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAO0lEQVQokWPs7G/kFGBkIA58//CfhVOAUUiemUgN7xj+MhGpFA5GNYxqoJYGlu8f/r9j+Euk6u8f/gMArKMOreezChMAAAAASUVORK5CYII=</Content>
     863          </Icon>
     864        </Rule>
     865        <Rule>
     866          <GeometryType>3</GeometryType>
     867          <ThemeCategory>5</ThemeCategory>
     868          <LegendLabel>Zone:  S&amp;W</LegendLabel>
     869          <Filter>RTYPE = 'S&amp;W'</Filter>
     870          <Icon>
     871            <MimeType>image/png</MimeType>
     872            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAO0lEQVQokWNsn9jMLsTMQBz4+e4vC7sQM78yG5EaPjL8YiJSKRyMahjVQC0NLD/f/f3I8ItI1T/f/QUAw9kOsaqrjjYAAAAASUVORK5CYII=</Content>
     873          </Icon>
     874        </Rule>
     875        <Rule>
     876          <GeometryType>3</GeometryType>
     877          <ThemeCategory>6</ThemeCategory>
     878          <LegendLabel>Zone:  WTC</LegendLabel>
     879          <Filter>RTYPE = 'WTC'</Filter>
     880          <Icon>
     881            <MimeType>image/png</MimeType>
     882            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWNsndzCJsLKQBz49eY3C5sIK7c6F5EaGBi+MRGtFApGNYxqoJYGll9vfjMwfCNS9a83vwEcRQzJpppspAAAAABJRU5ErkJggg==</Content>
     883          </Icon>
     884        </Rule>
     885        <Rule>
     886          <GeometryType>3</GeometryType>
     887          <ThemeCategory>7</ThemeCategory>
     888          <LegendLabel>Zone:  Other</LegendLabel>
     889          <Filter/>
     890          <Icon>
     891            <MimeType>image/png</MimeType>
     892            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAMUlEQVQokWM0NTU1NTVlIA6cPn2axdTUNCsri0gN06ZNYyJSKRyMahjVQC0NjKQmbwAmVgr+9vodNwAAAABJRU5ErkJggg==</Content>
     893          </Icon>
     894        </Rule>
     895      </ScaleRange>
     896    </Layer>
     897  </Group>
     898  <Group>
     899    <Name>Transportation</Name>
     900    <LegendLabel>Transportation</LegendLabel>
     901    <ObjectId>246d570c-bbcf-11e2-8002-080027004461</ObjectId>
     902    <DisplayInLegend>true</DisplayInLegend>
     903    <ExpandInLegend>true</ExpandInLegend>
     904    <Visible>true</Visible>
     905    <ActuallyVisible>true</ActuallyVisible>
     906    <Layer>
     907      <Type>1</Type>
     908      <LayerDefinition>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</LayerDefinition>
     909      <Name>Roads</Name>
     910      <LegendLabel>Roads</LegendLabel>
     911      <ObjectId>246d7e1c-bbcf-11e2-8000-080027004461</ObjectId>
     912      <DisplayInLegend>true</DisplayInLegend>
     913      <ExpandInLegend>true</ExpandInLegend>
     914      <Visible>true</Visible>
     915      <ActuallyVisible>true</ActuallyVisible>
     916      <FeatureSource>
     917        <ResourceId>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</ResourceId>
     918        <ClassName>SHP_Schema:RoadCenterLines</ClassName>
     919        <Geometry>SHPGEOM</Geometry>
     920      </FeatureSource>
     921      <ScaleRange>
     922        <MinScale>0</MinScale>
     923        <MaxScale>10000</MaxScale>
     924        <Rule>
     925          <GeometryType>2</GeometryType>
     926          <ThemeCategory>0</ThemeCategory>
     927          <LegendLabel/>
     928          <Filter/>
     929          <Icon>
     930            <MimeType>image/png</MimeType>
     931            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     932          </Icon>
     933        </Rule>
     934      </ScaleRange>
     935      <ScaleRange>
     936        <MinScale>10000</MinScale>
     937        <MaxScale>24000</MaxScale>
     938        <Rule>
     939          <GeometryType>2</GeometryType>
     940          <ThemeCategory>0</ThemeCategory>
     941          <LegendLabel/>
     942          <Filter/>
     943          <Icon>
     944            <MimeType>image/png</MimeType>
     945            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     946          </Icon>
     947        </Rule>
     948      </ScaleRange>
     949    </Layer>
     950    <Layer>
     951      <Type>1</Type>
     952      <LayerDefinition>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</LayerDefinition>
     953      <Name>Rail Lines</Name>
     954      <LegendLabel>Rail Lines</LegendLabel>
     955      <ObjectId>246d7e1c-bbcf-11e2-8001-080027004461</ObjectId>
     956      <DisplayInLegend>true</DisplayInLegend>
     957      <ExpandInLegend>true</ExpandInLegend>
     958      <Visible>false</Visible>
     959      <ActuallyVisible>false</ActuallyVisible>
     960      <FeatureSource>
     961        <ResourceId>Library://Samples/Sheboygan/Data/Rail.FeatureSource</ResourceId>
     962        <ClassName>SHP_Schema:Rail</ClassName>
     963        <Geometry>SHPGEOM</Geometry>
     964      </FeatureSource>
     965      <ScaleRange>
     966        <MinScale>0</MinScale>
     967        <MaxScale>24000</MaxScale>
     968        <Rule>
     969          <GeometryType>2</GeometryType>
     970          <ThemeCategory>0</ThemeCategory>
     971          <LegendLabel/>
     972          <Filter/>
     973          <Icon>
     974            <MimeType>image/png</MimeType>
     975            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAb0lEQVQokc2SwQnAIBAE15AmbMpSfdiIWIR3YAn62Dwur0AECULmtY9ZjoVzJLHCsWR/KIwxSilz1Zy70FqLMc4L5uzfcKaUAIiIiFh+oKoAvPfmrF8IIQCotaqq5TfM2T8aJEn23nPOnGKO+9/zXc8lZ5XdLNzmAAAAAElFTkSuQmCC</Content>
     976          </Icon>
     977        </Rule>
     978      </ScaleRange>
     979    </Layer>
     980  </Group>
     981</RuntimeMap>
     982}}}
     983
     984REQUESTEDFEATURES = 7 and ICONSPERSCALERANGE = 3 (Observe the theme rules of the Parcels. It is assumed client applications uses this lack of icons as a "hint" to compress the theme when displaying in an interactive legend control)
     985{{{
     986<RuntimeMap>
     987  <SiteVersion>2.6.0.0</SiteVersion>
     988  <SessionId>63ab622e-bbcf-11e2-8000-080027004461_en_MTI3LjAuMC4x0B060B050B04</SessionId>
     989  <Name>Sheboygan</Name>
     990  <MapDefinition>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</MapDefinition>
     991  <CoordinateSystem>
     992    <Wkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==&gt; +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</Wkt>
     993    <MentorCode>LL84</MentorCode>
     994    <EpsgCode>4326</EpsgCode>
     995    <MetersPerUnit>111319.49079327358</MetersPerUnit>
     996  </CoordinateSystem>
     997  <Extents>
     998    <LowerLeftCoordinate>
     999      <X>-87.764986990962839</X>
     1000      <Y>43.691398128787782</Y>
     1001    </LowerLeftCoordinate>
     1002    <UpperRightCoordinate>
     1003      <X>-87.695521510899724</X>
     1004      <Y>43.797520000480347</Y>
     1005    </UpperRightCoordinate>
     1006  </Extents>
     1007  <Group>
     1008    <Name>Base Map</Name>
     1009    <LegendLabel>Base Map</LegendLabel>
     1010    <ObjectId>63af0bb8-bbcf-11e2-8001-080027004461</ObjectId>
     1011    <DisplayInLegend>true</DisplayInLegend>
     1012    <ExpandInLegend>true</ExpandInLegend>
     1013    <Visible>true</Visible>
     1014    <ActuallyVisible>true</ActuallyVisible>
     1015    <Layer>
     1016      <Type>1</Type>
     1017      <LayerDefinition>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</LayerDefinition>
     1018      <Name>Islands</Name>
     1019      <LegendLabel>Islands</LegendLabel>
     1020      <ObjectId>63af59d8-bbcf-11e2-8004-080027004461</ObjectId>
     1021      <DisplayInLegend>true</DisplayInLegend>
     1022      <ExpandInLegend>true</ExpandInLegend>
     1023      <Visible>true</Visible>
     1024      <ActuallyVisible>true</ActuallyVisible>
     1025      <FeatureSource>
     1026        <ResourceId>Library://Samples/Sheboygan/Data/Islands.FeatureSource</ResourceId>
     1027        <ClassName>SHP_Schema:Islands</ClassName>
     1028        <Geometry>SHPGEOM</Geometry>
     1029      </FeatureSource>
     1030      <ScaleRange>
     1031        <MinScale>0</MinScale>
     1032        <MaxScale>1000000000000</MaxScale>
     1033        <Rule>
     1034          <GeometryType>3</GeometryType>
     1035          <ThemeCategory>0</ThemeCategory>
     1036          <LegendLabel/>
     1037          <Filter/>
     1038          <Icon>
     1039            <MimeType>image/png</MimeType>
     1040            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     1041          </Icon>
     1042        </Rule>
     1043      </ScaleRange>
     1044    </Layer>
     1045    <Layer>
     1046      <Type>1</Type>
     1047      <LayerDefinition>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</LayerDefinition>
     1048      <Name>Hydrography</Name>
     1049      <LegendLabel>Hydrography</LegendLabel>
     1050      <ObjectId>63af59d8-bbcf-11e2-8005-080027004461</ObjectId>
     1051      <DisplayInLegend>true</DisplayInLegend>
     1052      <ExpandInLegend>true</ExpandInLegend>
     1053      <Visible>true</Visible>
     1054      <ActuallyVisible>true</ActuallyVisible>
     1055      <FeatureSource>
     1056        <ResourceId>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</ResourceId>
     1057        <ClassName>SHP_Schema:HydrographicPolygons</ClassName>
     1058        <Geometry>SHPGEOM</Geometry>
     1059      </FeatureSource>
     1060      <ScaleRange>
     1061        <MinScale>0</MinScale>
     1062        <MaxScale>1000000000000</MaxScale>
     1063        <Rule>
     1064          <GeometryType>3</GeometryType>
     1065          <ThemeCategory>0</ThemeCategory>
     1066          <LegendLabel/>
     1067          <Filter/>
     1068          <Icon>
     1069            <MimeType>image/png</MimeType>
     1070            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWNcffwlAymAiSTVoxpGNQwpDQBmNQJ7CUalHwAAAABJRU5ErkJggg==</Content>
     1071          </Icon>
     1072        </Rule>
     1073      </ScaleRange>
     1074    </Layer>
     1075    <Layer>
     1076      <Type>1</Type>
     1077      <LayerDefinition>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</LayerDefinition>
     1078      <Name>CityLimits</Name>
     1079      <LegendLabel>CityLimits</LegendLabel>
     1080      <ObjectId>63af59d8-bbcf-11e2-8006-080027004461</ObjectId>
     1081      <DisplayInLegend>true</DisplayInLegend>
     1082      <ExpandInLegend>true</ExpandInLegend>
     1083      <Visible>true</Visible>
     1084      <ActuallyVisible>true</ActuallyVisible>
     1085      <FeatureSource>
     1086        <ResourceId>Library://Samples/Sheboygan/Data/CityLimits.FeatureSource</ResourceId>
     1087        <ClassName>SHP_Schema:CityLimits</ClassName>
     1088        <Geometry>SHPGEOM</Geometry>
     1089      </FeatureSource>
     1090      <ScaleRange>
     1091        <MinScale>0</MinScale>
     1092        <MaxScale>10000</MaxScale>
     1093        <Rule>
     1094          <GeometryType>3</GeometryType>
     1095          <ThemeCategory>0</ThemeCategory>
     1096          <LegendLabel/>
     1097          <Filter/>
     1098          <Icon>
     1099            <MimeType>image/png</MimeType>
     1100            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWM8cOAAAymAiSTVoxpGNQwpDQAT+QJghokBTgAAAABJRU5ErkJggg==</Content>
     1101          </Icon>
     1102        </Rule>
     1103      </ScaleRange>
     1104      <ScaleRange>
     1105        <MinScale>10000</MinScale>
     1106        <MaxScale>1000000000000</MaxScale>
     1107        <Rule>
     1108          <GeometryType>3</GeometryType>
     1109          <ThemeCategory>0</ThemeCategory>
     1110          <LegendLabel/>
     1111          <Filter/>
     1112          <Icon>
     1113            <MimeType>image/png</MimeType>
     1114            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAGUlEQVQokWO8emINAymAiSTVoxpGNQwpDQAvoAJpPgoElwAAAABJRU5ErkJggg==</Content>
     1115          </Icon>
     1116        </Rule>
     1117      </ScaleRange>
     1118    </Layer>
     1119  </Group>
     1120  <Group>
     1121    <Name>Municipal</Name>
     1122    <LegendLabel>Municipal</LegendLabel>
     1123    <ObjectId>63af0bb8-bbcf-11e2-8002-080027004461</ObjectId>
     1124    <DisplayInLegend>true</DisplayInLegend>
     1125    <ExpandInLegend>true</ExpandInLegend>
     1126    <Visible>true</Visible>
     1127    <ActuallyVisible>true</ActuallyVisible>
     1128    <Layer>
     1129      <Type>1</Type>
     1130      <LayerDefinition>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</LayerDefinition>
     1131      <Name>Districts</Name>
     1132      <LegendLabel>Districts</LegendLabel>
     1133      <ObjectId>63af59d8-bbcf-11e2-8001-080027004461</ObjectId>
     1134      <DisplayInLegend>true</DisplayInLegend>
     1135      <ExpandInLegend>true</ExpandInLegend>
     1136      <Visible>true</Visible>
     1137      <ActuallyVisible>false</ActuallyVisible>
     1138      <FeatureSource>
     1139        <ResourceId>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</ResourceId>
     1140        <ClassName>SDF_2_Schema:VotingDistricts</ClassName>
     1141        <Geometry>Data</Geometry>
     1142      </FeatureSource>
     1143      <ScaleRange>
     1144        <MinScale>10000</MinScale>
     1145        <MaxScale>1000000000000</MaxScale>
     1146        <Rule>
     1147          <GeometryType>3</GeometryType>
     1148          <ThemeCategory>0</ThemeCategory>
     1149          <LegendLabel/>
     1150          <Filter/>
     1151          <Icon>
     1152            <MimeType>image/png</MimeType>
     1153            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOUlEQVQokWPcs6JOTFabgTjw6vFVhktHV/4nGlw6upKJSLPhYFTDqAZqaWB59fjq5WOriFT96vFVACkEOt/4XD28AAAAAElFTkSuQmCC</Content>
     1154          </Icon>
     1155        </Rule>
     1156      </ScaleRange>
     1157    </Layer>
     1158    <Layer>
     1159      <Type>1</Type>
     1160      <LayerDefinition>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</LayerDefinition>
     1161      <Name>Buildings</Name>
     1162      <LegendLabel>Buildings</LegendLabel>
     1163      <ObjectId>63af59d8-bbcf-11e2-8002-080027004461</ObjectId>
     1164      <DisplayInLegend>true</DisplayInLegend>
     1165      <ExpandInLegend>true</ExpandInLegend>
     1166      <Visible>true</Visible>
     1167      <ActuallyVisible>true</ActuallyVisible>
     1168      <FeatureSource>
     1169        <ResourceId>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</ResourceId>
     1170        <ClassName>SHP_Schema:BuildingOutlines</ClassName>
     1171        <Geometry>SHPGEOM</Geometry>
     1172      </FeatureSource>
     1173      <ScaleRange>
     1174        <MinScale>0</MinScale>
     1175        <MaxScale>1500</MaxScale>
     1176        <Rule>
     1177          <GeometryType>3</GeometryType>
     1178          <ThemeCategory>0</ThemeCategory>
     1179          <LegendLabel/>
     1180          <Filter/>
     1181          <Icon>
     1182            <MimeType>image/png</MimeType>
     1183            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWM8evToy5cvGYgD4uLiLC9fvrx06RKRGvT09JiIVAoHoxpGNVBLA4u4uLienh6RqsXFxQHMyAxCMWcM4QAAAABJRU5ErkJggg==</Content>
     1184          </Icon>
     1185        </Rule>
     1186      </ScaleRange>
     1187    </Layer>
     1188    <Layer>
     1189      <Type>1</Type>
     1190      <LayerDefinition>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</LayerDefinition>
     1191      <Name>Parcels</Name>
     1192      <LegendLabel>Parcels</LegendLabel>
     1193      <ObjectId>63af59d8-bbcf-11e2-8003-080027004461</ObjectId>
     1194      <DisplayInLegend>true</DisplayInLegend>
     1195      <ExpandInLegend>true</ExpandInLegend>
     1196      <Visible>true</Visible>
     1197      <ActuallyVisible>true</ActuallyVisible>
     1198      <FeatureSource>
     1199        <ResourceId>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</ResourceId>
     1200        <ClassName>SHP_Schema:Parcels</ClassName>
     1201        <Geometry>SHPGEOM</Geometry>
     1202      </FeatureSource>
     1203      <ScaleRange>
     1204        <MinScale>0</MinScale>
     1205        <MaxScale>10000</MaxScale>
     1206        <Rule>
     1207          <GeometryType>3</GeometryType>
     1208          <ThemeCategory>0</ThemeCategory>
     1209          <LegendLabel>Zone:  AGR</LegendLabel>
     1210          <Filter>RTYPE = 'AGR'</Filter>
     1211          <Icon>
     1212            <MimeType>image/png</MimeType>
     1213            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAOklEQVQokWOc0F4lwPGbgTjw4QcriwDHb0X+r0RquM/AzUSkUjgY1TCqgVoaWD78YL3PwE2k6g8/WAEoyAybnvNMrwAAAABJRU5ErkJggg==</Content>
     1214          </Icon>
     1215        </Rule>
     1216        <Rule>
     1217          <GeometryType>3</GeometryType>
     1218          <ThemeCategory>1</ThemeCategory>
     1219          <LegendLabel>Zone:  EXM</LegendLabel>
     1220          <Filter>RTYPE = 'EXM'</Filter>
     1221        </Rule>
     1222        <Rule>
     1223          <GeometryType>3</GeometryType>
     1224          <ThemeCategory>2</ThemeCategory>
     1225          <LegendLabel>Zone:  MER</LegendLabel>
     1226          <Filter>RTYPE = 'MER'</Filter>
     1227        </Rule>
     1228        <Rule>
     1229          <GeometryType>3</GeometryType>
     1230          <ThemeCategory>3</ThemeCategory>
     1231          <LegendLabel>Zone:  MFG</LegendLabel>
     1232          <Filter>RTYPE = 'MFG'</Filter>
     1233        </Rule>
     1234        <Rule>
     1235          <GeometryType>3</GeometryType>
     1236          <ThemeCategory>4</ThemeCategory>
     1237          <LegendLabel>Zone:  RES</LegendLabel>
     1238          <Filter>RTYPE = 'RES'</Filter>
     1239        </Rule>
     1240        <Rule>
     1241          <GeometryType>3</GeometryType>
     1242          <ThemeCategory>5</ThemeCategory>
     1243          <LegendLabel>Zone:  S&amp;W</LegendLabel>
     1244          <Filter>RTYPE = 'S&amp;W'</Filter>
     1245        </Rule>
     1246        <Rule>
     1247          <GeometryType>3</GeometryType>
     1248          <ThemeCategory>6</ThemeCategory>
     1249          <LegendLabel>Zone:  WTC</LegendLabel>
     1250          <Filter>RTYPE = 'WTC'</Filter>
     1251        </Rule>
     1252        <Rule>
     1253          <GeometryType>3</GeometryType>
     1254          <ThemeCategory>7</ThemeCategory>
     1255          <LegendLabel>Zone:  Other</LegendLabel>
     1256          <Filter/>
     1257          <Icon>
     1258            <MimeType>image/png</MimeType>
     1259            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAMUlEQVQokWM0NTU1NTVlIA6cPn2axdTUNCsri0gN06ZNYyJSKRyMahjVQC0NjKQmbwAmVgr+9vodNwAAAABJRU5ErkJggg==</Content>
     1260          </Icon>
     1261        </Rule>
     1262      </ScaleRange>
     1263    </Layer>
     1264  </Group>
     1265  <Group>
     1266    <Name>Transportation</Name>
     1267    <LegendLabel>Transportation</LegendLabel>
     1268    <ObjectId>63af0bb8-bbcf-11e2-8003-080027004461</ObjectId>
     1269    <DisplayInLegend>true</DisplayInLegend>
     1270    <ExpandInLegend>true</ExpandInLegend>
     1271    <Visible>true</Visible>
     1272    <ActuallyVisible>true</ActuallyVisible>
     1273    <Layer>
     1274      <Type>1</Type>
     1275      <LayerDefinition>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</LayerDefinition>
     1276      <Name>Roads</Name>
     1277      <LegendLabel>Roads</LegendLabel>
     1278      <ObjectId>63af32c8-bbcf-11e2-8000-080027004461</ObjectId>
     1279      <DisplayInLegend>true</DisplayInLegend>
     1280      <ExpandInLegend>true</ExpandInLegend>
     1281      <Visible>true</Visible>
     1282      <ActuallyVisible>true</ActuallyVisible>
     1283      <FeatureSource>
     1284        <ResourceId>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</ResourceId>
     1285        <ClassName>SHP_Schema:RoadCenterLines</ClassName>
     1286        <Geometry>SHPGEOM</Geometry>
     1287      </FeatureSource>
     1288      <ScaleRange>
     1289        <MinScale>0</MinScale>
     1290        <MaxScale>10000</MaxScale>
     1291        <Rule>
     1292          <GeometryType>2</GeometryType>
     1293          <ThemeCategory>0</ThemeCategory>
     1294          <LegendLabel/>
     1295          <Filter/>
     1296          <Icon>
     1297            <MimeType>image/png</MimeType>
     1298            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     1299          </Icon>
     1300        </Rule>
     1301      </ScaleRange>
     1302      <ScaleRange>
     1303        <MinScale>10000</MinScale>
     1304        <MaxScale>24000</MaxScale>
     1305        <Rule>
     1306          <GeometryType>2</GeometryType>
     1307          <ThemeCategory>0</ThemeCategory>
     1308          <LegendLabel/>
     1309          <Filter/>
     1310          <Icon>
     1311            <MimeType>image/png</MimeType>
     1312            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAIklEQVQokWP8//8/AymAiSTVI1UDS3t7O21tYByNOFpoAAAJdQewcVU/XQAAAABJRU5ErkJggg==</Content>
     1313          </Icon>
     1314        </Rule>
     1315      </ScaleRange>
     1316    </Layer>
     1317    <Layer>
     1318      <Type>1</Type>
     1319      <LayerDefinition>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</LayerDefinition>
     1320      <Name>Rail Lines</Name>
     1321      <LegendLabel>Rail Lines</LegendLabel>
     1322      <ObjectId>63af59d8-bbcf-11e2-8000-080027004461</ObjectId>
     1323      <DisplayInLegend>true</DisplayInLegend>
     1324      <ExpandInLegend>true</ExpandInLegend>
     1325      <Visible>false</Visible>
     1326      <ActuallyVisible>false</ActuallyVisible>
     1327      <FeatureSource>
     1328        <ResourceId>Library://Samples/Sheboygan/Data/Rail.FeatureSource</ResourceId>
     1329        <ClassName>SHP_Schema:Rail</ClassName>
     1330        <Geometry>SHPGEOM</Geometry>
     1331      </FeatureSource>
     1332      <ScaleRange>
     1333        <MinScale>0</MinScale>
     1334        <MaxScale>24000</MaxScale>
     1335        <Rule>
     1336          <GeometryType>2</GeometryType>
     1337          <ThemeCategory>0</ThemeCategory>
     1338          <LegendLabel/>
     1339          <Filter/>
     1340          <Icon>
     1341            <MimeType>image/png</MimeType>
     1342            <Content>iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAA3NCSVQICAjb4U/gAAAAb0lEQVQokc2SwQnAIBAE15AmbMpSfdiIWIR3YAn62Dwur0AECULmtY9ZjoVzJLHCsWR/KIwxSilz1Zy70FqLMc4L5uzfcKaUAIiIiFh+oKoAvPfmrF8IIQCotaqq5TfM2T8aJEn23nPOnGKO+9/zXc8lZ5XdLNzmAAAAAElFTkSuQmCC</Content>
     1343          </Icon>
     1344        </Rule>
     1345      </ScaleRange>
     1346    </Layer>
     1347  </Group>
     1348</RuntimeMap>
     1349}}}
     1350
     1351== Implications ==
     1352
     1353This is a brand new API. There are no compatibility issues.
     1354
     1355== Test Plan ==
     1356
     1357Test the operation with various requested feature levels against a pure OpenLayers map viewer.
     1358
     1359Test and verify CREATERUNTIMEMAP at full feature level provides all the necessary information for Fusion to bypass LoadMap.php and LoadScaleRanges.php
     1360
     1361== Funding / Resources ==
     1362
     1363Community