Digitizer

Quality Band - Preview
Status - In Use

About

digitizer.png
Full drawing tools to create and edit points, polylines and polygons.
The control is designed to have a form inside it as additional metadata. The save event has a cancelled property that allows you to validate your form, alert the user and redirect them to the incomplete form.
This control uses the ColorPicker and the GeometryStylePicker controls.

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.VirtualEarth.MapControl;assembly=Microsoft.VirtualEarth.MapControl" 
    xmlns:d="clr-namespace:DeepEarth.Client.Controls.Digitizer;assembly=DeepEarth.Client.Controls.Digitizer">
    <Grid x:Name="LayoutRoot" Background="White">
        <m:Map x:Name="map"  />
        <d:Digitizer x:Name="digitizer" MapName="map" Save="digitizer_Save" Cancel="digitizer_Cancel" New="digitizer_New">
            <Grid />
       </d:Digitizer>
    </Grid>
</UserControl>


Reference:
  • DeepEarth.Client.Common.dll
  • DeepEarth.Client.Controls.Digitizer.dll
  • DeepEarth.Client.Controls.ColorPicker.dll
  • DeepEarth.Client.Controls.GeometryStylePicker.dll
  • Microsoft.VirtualEarth.MapControl.dll
  • DeepEarth.Client.BingMaps.dll
  • DeepEarth.Client.Controls.MapGeometry.dll
  • GeoAPI.dll
  • NetTopologySuite.dll

Working towards Full Blend support. 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/08/2009
0.1 Bing Maps support 17/08/2009
0.2 Moved to Preview 09/09/2009
1.0 DEMap support tba



Last edited Sep 9, 2009 at 2:32 AM by soulsolutions, version 3

Comments

No comments yet.