Coordinate Panel

Quality Band - Preview
Status - In Use

About

CoordinatePanel.png
CoordinatePanel2.png
The coordinate panel displays current coordinate information for the mouse position. It can be themed and positioned on the map.
On click it expands to allow the selection of co-ordinates in:
  • Decimal degrees
  • DDMMSS
  • UTM (Eastings and northings)
Also it provides a simple goto coordinate entered in decimal degrees.

Usage

Bing Maps example:
XAML:
<UserControl x:Class="ExampleControlBing.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
    xmlns:c="clr-namespace:DeepEarth.Client.Controls.CoordinatePanel.BingMaps;assembly=DeepEarth.Client.Controls.CoordinatePanel.BingMaps">
    <Grid x:Name="LayoutRoot" Background="White">
        <m:Map x:Name="map" ScaleVisibility="Collapsed" NavigationVisibility="Collapsed" CredentialsProvider="Your AppID here" />
        <c:CoordinatePanel x:Name="coord" MapName="map" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="8,8,8,8" />
    </Grid>
</UserControl>


Reference:
  • DeepEarth.Client.Common.dll
  • DeepEarth.Client.Controls.CoordinatePanel.dll
  • Microsoft.Maps.MapControl.dll
  • Microsoft.Maps.MapControl.Common.dll
  • DeepEarth.Client.BingMaps.dll
  • DeepEarth.Client.Controls.CoordinatePanel.BingMaps.dll
  • GeoAPI.dll
  • NetTopologySuite.dll

Full Blend support, simply add these DLLs, then the control appears in your toolbox, drop on the page. You must set the "MapName" to the x:Name of your map control. Feel free to override the template.

Developers

soulsolutions

Roadmap

Version Feature Date
0.1 Initial Architecture 17/06/2009
0.1 Bing Maps support 17/06/2009
0.2 Moved to Preview 09/07/2009
0.3 DDMMSS 16/11/2009
0.3 Northings and Eastings 16/11/2009
0.3 Navigate to coordinate (user input) 16/11/2009

Last edited Nov 16, 2009 at 7:26 AM by soulsolutions, version 7

Comments

No comments yet.