Added Avalonia sample application

This commit is contained in:
ClemensFischer 2024-05-24 15:28:28 +02:00
parent dc8df5e486
commit 192ecbf4df
12 changed files with 364 additions and 12 deletions

View file

@ -183,8 +183,7 @@
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
Margin="2" ToolTip="Map Layers and Overlays"
Map="{Binding ElementName=map}">
Margin="2" ToolTip="Map Layers and Overlays" Map="{Binding ElementName=map}">
<tools:MapLayerItem Text="OpenStreetMap">
<map:MapTileLayer
TileSource="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
@ -220,6 +219,15 @@
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="TopPlusOpen WMS Tiles">
<map:MapTileLayer
SourceName="TopPlusOpen"
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)">
<map:MapTileLayer.TileSource>
<map:BoundingBoxTileSource UriTemplate="https://sgx.geodatenzentrum.de/wms_topplus_open?SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetMap&amp;CRS=EPSG:3857&amp;LAYERS=web&amp;STYLES=&amp;FORMAT=image/png&amp;WIDTH=256&amp;HEIGHT=256&amp;BBOX={west},{south},{east},{north}"/>
</map:MapTileLayer.TileSource>
</map:MapTileLayer>
</tools:MapLayerItem>
<tools:MapLayerItem Text="OpenStreetMap WMS">
<map:WmsImageLayer
ServiceUri="http://ows.terrestris.de/osm/service"
@ -249,8 +257,7 @@
</tools:MapLayersMenuButton>
<tools:MapProjectionsMenuButton x:Name="mapProjectionsMenuButton"
Margin="2" ToolTip="Map Projections"
Map="{Binding ElementName=map}">
Margin="2" ToolTip="Map Projections" Map="{Binding ElementName=map}">
<tools:MapProjectionItem Text="Web Mercator" Projection="EPSG:3857"/>
<tools:MapProjectionItem Text="Equirectangular" Projection="EPSG:4326"/>
<tools:MapProjectionItem Text="ETRS89 / UTM zone 32N" Projection="EPSG:25832"/>

View file

@ -9,7 +9,7 @@
<Version>10.0.0</Version>
<Authors>Clemens Fischer</Authors>
<Copyright>Copyright © 2024 Clemens Fischer</Copyright>
<DefineConstants></DefineConstants>
<DefineConstants>WPF</DefineConstants>
</PropertyGroup>
<ItemGroup>