mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Extend map projections
This commit is contained in:
parent
57e614978b
commit
d8d1cbccaf
27 changed files with 448 additions and 207 deletions
|
|
@ -210,6 +210,19 @@
|
|||
ServiceUri="http://ows.terrestris.de/osm/service"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayersMenuButton.MapOverlays>
|
||||
<tools:MapLayerItem Text="Graticule">
|
||||
<map:MapGraticule Opacity="0.7"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Scale">
|
||||
<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>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Sample Image">
|
||||
<Image Source="10_535_330.jpg" Stretch="Fill">
|
||||
<map:MapPanel.BoundingBox>
|
||||
|
|
@ -220,18 +233,8 @@
|
|||
<tools:MapLayerItem Text="Mount Etna KML">
|
||||
<map:GroundOverlay SourcePath="etna.kml"/>
|
||||
</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>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Graticule">
|
||||
<map:MapGraticule Opacity="0.7"/>
|
||||
</tools:MapLayerItem>
|
||||
<tools:MapLayerItem Text="Scale">
|
||||
<map:MapScale HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
|
||||
<tools:MapLayerItem Text="Chicago GeoTIFF">
|
||||
<map:GeoImage SourcePath="UTM2GTIF.tiff"/>
|
||||
</tools:MapLayerItem>
|
||||
</tools:MapLayersMenuButton.MapOverlays>
|
||||
</tools:MapLayersMenuButton>
|
||||
|
|
@ -242,6 +245,8 @@
|
|||
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"/>
|
||||
<tools:MapProjectionItem Text="WGS84 / Auto UTM" Projection="AUTO2:42001"/>
|
||||
</tools:MapProjectionsMenuButton>
|
||||
|
||||
<Slider Orientation="Vertical" Margin="4,8" Height="100"
|
||||
|
|
|
|||
|
|
@ -78,6 +78,9 @@
|
|||
<Content Include="..\Shared\10_535_330.jpg">
|
||||
<Link>10_535_330.jpg</Link>
|
||||
</Content>
|
||||
<Content Include="..\Shared\UTM2GTIF.tiff">
|
||||
<Link>UTM2GTIF.tiff</Link>
|
||||
</Content>
|
||||
<Content Include="Properties\Default.rd.xml" />
|
||||
<Content Include="Assets\LockScreenLogo.scale-200.png" />
|
||||
<Content Include="Assets\SplashScreen.scale-200.png" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue