Skip to content
runetvilum edited this page Apr 7, 2013 · 3 revisions

Her et eksempel på brug af HTTP Tile i ApplicationDefinition.

<MapSet>
    <MapGroup id="Sheboygan1">
      <Map>
        <Type>MapGuide</Type>
        <SingleTile>False</SingleTile>
        <Extension>
          <Options>
            <useHttpTile>true</useHttpTile>
            <tileCacheUrl>http://rtv04:8008/sheboygan</tileCacheUrl>
          </Options>
          <ResourceId>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</ResourceId>
        </Extension>
      </Map>
    </MapGroup>
  </MapSet>

Her er et eksempel på HTTP tile som overlay på Open Steet Map

<MapSet>
    <MapGroup id="Sheboygan1">
      <Map>
        <Type>MapGuide</Type>
        <SingleTile>False</SingleTile>
        <Extension>
          <Options>
            <isBaseLayer>false</isBaseLayer>
            <format>jpg</format>
            <useOverlay>true</useOverlay>
            <useHttpTile>true</useHttpTile>
            <tileCacheUrl>http://rtv04:8008/sheboyganosm</tileCacheUrl>
          </Options>
          <ResourceId>Library://Samples/Sheboygan/MapsTiled/SheboyganOsm.MapDefinition</ResourceId>
        </Extension>
      </Map>
      <Map>
        <Type>OpenStreetMap</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <Options>
            <name>Open Street Map</name>
            <type>Mapnik</type>
          </Options>
        </Extension>
      </Map>
    </MapGroup>
  </MapSet>
Clone this wiki locally