Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom-drawing MapPoint maps in C#?

Tags:

c#

wpf

mappoint

My application requires an on-drive map as there will be no internet access during operation. I've kind of settled on using MapPoint 2009, but the map 'style' really clashes with my overall UI look and feel.

I'm wondering if there's some way to custom draw everything on the map (roads, labels, etc.)? It's crossed my mind that perhaps there's some themeing in the MapPoint application itself, but I don't have it handy right now :(

I'd totally prefer a WPF method but really, anything at this point helps :)

like image 562
Eric Smith Avatar asked Apr 27 '09 15:04

Eric Smith


2 Answers

I don't believe the MapPoint COM API exposes any method of overriding the default rendering. You can add your own objects on top (via shapes, etc), but I don't believe it will do exactly what you are asking for.

The only C# mapping framework I know of that would do this is SharpMap v2. The plans were to provide a WPF rendering stack in addition to the current GDI+ one.

like image 177
Reed Copsey Avatar answered Sep 29 '22 12:09

Reed Copsey


No, basically. The most you can do is add push-pins, lines, shapes etc. There is a usenet forum (microsoft.public.mappoint) that might have more, but I can pretty much guarantee the answer is "no".

like image 30
Marc Gravell Avatar answered Sep 29 '22 12:09

Marc Gravell