WPF Application with map control and custom map

烂漫一生 提交于 2019-12-13 06:08:02

问题


I have a georeferenced orthofotomap of cmentary. There is layers with foto, graves and roads between them. I'm trying to create WPF application with map control and display map connected with database that I created. I need to allow user to click some grave and then show a overlay with some personal date and button to navigate to this specific grave using routes that I marked before in other program like QGIS. Is there any way to do is with Bing Maps? Or do you know any way to resolve this problem?


回答1:


The easiest solution is to turn your image into a tile layer using a tool like MapCruncher: https://www.microsoft.com/en-us/download/details.aspx?id=22420

You can then add this s a tile layer if hosted on a network or server, or use the following blog and add it as a local tile layer: https://blogs.bing.com/maps/2015/08/24/local-tile-layers-in-bing-maps-wpf/

If your image isn't rotated and doesn't require any stretching, you could also try this approach: http://code.msdn.microsoft.com/Binding-and-Image-to-a-01a56e48



来源:https://stackoverflow.com/questions/29168324/wpf-application-with-map-control-and-custom-map

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!