开发者

Maps for commercial WPF applications

I'm currently developping a commercial Windows application (closed-source, free demo with limited functionality available) in .Net 4.0 using C# and WPF. I'm now looking for a map library with the following features:

  • World-wide online map and/or satellite data 开发者_StackOverflow中文版(Like Bing or Google Maps. Due to lack of coverage however, OpenStreetMap does not qualify)
  • Display of custom colored placemarks
  • Optionally: Possibility to easily add a simplified offline map, on a lower zoom level

Which mapping solution satisfy those requirements without violating any licenses of the map provider?


If you'd choose Bing, it is fairly simple. As I said, I haven't done it myself, but I've seen it on a demo. It should be something like:

<maps:Map Name="bingmap" Mode="AerialWithLabels" CredentialsProvider="enteryourkeyhere"/>

Where maps is the namespace: clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl

Then, in code-behind:

GeoCoordinate co = new GeoCoordinate((double)myLatitude, (double)myLongitude);
bingmap.SetView(co, 18);

Courtesy goes to Kevin Derudder who did a great presentation (which is where I saw it). It was about Silverlight, but should be almost the same for WPF. Check out his blog post, with code sample.


Have you looked at NASA World Wind? They have a lot of developer information hosted on their website. It is JAVA based, but there are ways around that.

http://worldwind.arc.nasa.gov/java/

And being a Government Agency, I would image that their imagery is Free-Use.

ESRI website Developer Tools Product Page


You may have to go commercial. If so, also look at Thinkgeo Mapsuite.


This is excellent, I guess it will have more than you need: Great Maps for Windows Forms & Presentation

Just download code and check out the demo!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜