-
Notifications
You must be signed in to change notification settings - Fork 1
HTTP Tile
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>