如何在 c# winforms 中集成 OpenStreet Map

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9049100/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-09 05:43:56  来源:igfitidea点击:

How to integrate OpenStreet Map in c# winforms

c#winformsopenstreetmap

提问by Shax

I need to integrate OpenStreet Map in my c# application, as I have done some research work on google and bing and realized their licensing restrctions. Now I want integrate OpenStreet Map

我需要将 OpenStreet Map 集成到我的 c# 应用程序中,因为我已经在 google 和 bing 上做了一些研究工作并意识到他们的许可限制。现在我想集成 OpenStreet Map

Tasks to accomplish: 1. Display Map and the vehicle location on the map. 2. Allow the user to define regions or radius on the map by drawing lines or shapes(triangles, rectange or circles) on the map and get the exact calculated long/lat, radius, distance etc

要完成的任务: 1. 在地图上显示地图和车辆位置。2.允许用户通过在地图上绘制线条或形状(三角形、矩形或圆形)来定义地图上的区域或半径,并获得精确计算的长/纬度、半径、距离等

I am totally new to this area have no idea, trying hard to get the knowledge but due to time constraint i am having difficulties.

我对这个领域完全陌生,不知道,努力获取知识,但由于时间限制,我遇到了困难。

Appreicate if some body can share their experience and guide me to the right direction with blogs, samples etc.

欣赏是否有人可以分享他们的经验并通过博客、示例等引导我走向正确的方向。

Thanks

谢谢

采纳答案by ken2k

You're definitely looking for GMap.NET. You can use any map provider, just take care of license restrictions as you already noted. Look at the example they provide, it'll be useful for you.

您肯定在寻找GMap.NET。您可以使用任何地图提供商,只需注意您已经注意到的许可限制。看看他们提供的例子,它会对你有用。