mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
BoundingBox now immutable
This commit is contained in:
parent
dc9932a0cf
commit
2685792758
8 changed files with 61 additions and 105 deletions
|
|
@ -160,55 +160,43 @@
|
|||
Map="{Binding ElementName=map}">
|
||||
<tools:MapLayerItem Text="OpenStreetMap">
|
||||
<map:MapTileLayer
|
||||
TileSource="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||
SourceName="OpenStreetMap"
|
||||
Description="© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)">
|
||||
<map:MapTileLayer.TileSource>
|
||||
<map:TileSource UriTemplate="https://tile.openstreetmap.org/{z}/{x}/{y}.png"/>
|
||||
</map:MapTileLayer.TileSource>
|
||||
</map:MapTileLayer>
|
||||
Description="© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="OpenStreetMap German">
|
||||
<map:MapTileLayer
|
||||
TileSource="https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png"
|
||||
SourceName="OpenStreetMap German"
|
||||
Description="© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)">
|
||||
<map:MapTileLayer.TileSource>
|
||||
<map:TileSource UriTemplate="https://{s}.tile.openstreetmap.de/{z}/{x}/{y}.png"/>
|
||||
</map:MapTileLayer.TileSource>
|
||||
</map:MapTileLayer>
|
||||
Description="© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="OpenStreetMap French">
|
||||
<map:MapTileLayer
|
||||
TileSource="http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png"
|
||||
SourceName="OpenStreetMap French"
|
||||
Description="© [OpenStreetMap France](https://www.openstreetmap.fr/mentions-legales/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)">
|
||||
<map:MapTileLayer.TileSource>
|
||||
<map:TileSource UriTemplate="http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png"/>
|
||||
</map:MapTileLayer.TileSource>
|
||||
</map:MapTileLayer>
|
||||
Description="© [OpenStreetMap France](https://www.openstreetmap.fr/mentions-legales/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="OpenTopoMap">
|
||||
<map:MapTileLayer
|
||||
TileSource="https://tile.opentopomap.org/{z}/{x}/{y}.png"
|
||||
SourceName="OpenTopoMap"
|
||||
Description="© [OpenTopoMap](https://opentopomap.org/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)">
|
||||
<map:MapTileLayer.TileSource>
|
||||
<map:TileSource UriTemplate="https://tile.opentopomap.org/{z}/{x}/{y}.png"/>
|
||||
</map:MapTileLayer.TileSource>
|
||||
</map:MapTileLayer>
|
||||
Description="© [OpenTopoMap](https://opentopomap.org/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="TopPlusOpen WMTS">
|
||||
<map:WmtsTileLayer
|
||||
CapabilitiesUri="https://sgx.geodatenzentrum.de/wmts_topplus_open/1.0.0/WMTSCapabilities.xml"
|
||||
SourceName="TopPlusOpen"
|
||||
Description="© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wmts-topplusopen-wmts-topplus-open.html)"
|
||||
CapabilitiesUri="https://sgx.geodatenzentrum.de/wmts_topplus_open/1.0.0/WMTSCapabilities.xml"/>
|
||||
Description="© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wmts-topplusopen-wmts-topplus-open.html)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="TopPlusOpen WMS">
|
||||
<map:WmsImageLayer
|
||||
Description="© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wms-topplusopen-mit-layer-fur-normalausgabe-und-druck-wms-topplus-open.html)"
|
||||
ServiceUri="https://sgx.geodatenzentrum.de/wms_topplus_open"/>
|
||||
ServiceUri="https://sgx.geodatenzentrum.de/wms_topplus_open"
|
||||
Description="© [BKG](https://gdz.bkg.bund.de/index.php/default/webdienste/topplus-produkte/wms-topplusopen-mit-layer-fur-normalausgabe-und-druck-wms-topplus-open.html)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="OpenStreetMap WMS">
|
||||
<map:WmsImageLayer
|
||||
Description="© [terrestris GmbH & Co. KG](http://ows.terrestris.de/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"
|
||||
ServiceUri="http://ows.terrestris.de/osm/service"/>
|
||||
ServiceUri="http://ows.terrestris.de/osm/service"
|
||||
Description="© [terrestris GmbH & Co. KG](http://ows.terrestris.de/) © [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayersMenuButton.MapOverlays>
|
||||
<tools:MapLayerItem Text="Graticule">
|
||||
|
|
@ -218,18 +206,13 @@
|
|||
<map:MapScale HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Seamarks">
|
||||
<map:MapTileLayer SourceName="Seamarks" MinZoomLevel="9" MaxZoomLevel="18">
|
||||
<map:MapTileLayer.TileSource>
|
||||
<map:TileSource UriTemplate="http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"/>
|
||||
</map:MapTileLayer.TileSource>
|
||||
</map:MapTileLayer>
|
||||
<map:MapTileLayer
|
||||
TileSource="http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"
|
||||
SourceName="Seamarks"
|
||||
MinZoomLevel="9" MaxZoomLevel="18"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Sample Image">
|
||||
<Image Source="10_535_330.jpg" Stretch="Fill">
|
||||
<map:MapPanel.BoundingBox>
|
||||
<map:BoundingBox South="53.54031" West="8.08594" North="53.74871" East="8.43750"/>
|
||||
</map:MapPanel.BoundingBox>
|
||||
</Image>
|
||||
<Image Source="10_535_330.jpg" Stretch="Fill" map:MapPanel.BoundingBox="53.54031,8.08594,53.74871,8.43750"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Mount Etna KML">
|
||||
<map:GroundOverlay SourcePath="etna.kml"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue