Designing a WPF map control.

Posted by Dylan on Stack Overflow See other posts from Stack Overflow or by Dylan
Published on 2008-09-17T19:16:29Z Indexed on 2010/04/23 21:23 UTC
Read the original article Hit count: 300

Filed under:
|

I'm thinking about making a simple map control in WPF, and am thinking about the design of the basic map interface and am wondering if anyone has some good advice for this.

What I'm thinking of is using a ScrollViewer (sans scroll bars) as my "view port" and then stacking everything up on top of a canvas. From Z-Index=0 up, I'm thinking:

  1. Base canvas for lat/long calculations, control positioning, Z-Index stacking.
  2. Multiple Grid elements to represent the maps at different zoom levels. Using a grid to make tiling easier.
  3. Map objects with positional data.
  4. Map controls (zoom slider, overview, etc).
  5. Scroll viewer with mouse move events for panning and zooming.

Any comments suggestions on how I should be building this?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about gis