将逻辑屏幕坐标转换为Lat / Long [英] Convert logical screen coordinates to Lat/Long

查看:128
本文介绍了将逻辑屏幕坐标转换为Lat / Long的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将逻辑屏幕坐标转换为纬度/经度。我有图像,这是从谷歌静态API网址返回。返回图像的大小为512x512,此图像将放置在大小为300x200的WPF图像控件中。当我用光标移动图像时,我想将鼠标位置更改为坐标。你能帮帮我怎么做吗?

谢谢

I need to convert logical screen cordinates to latitude/longitude. I have image, which is return from google static api url. the size of returned image is 512x512 and this image is placed to the WPF Image control of size 300x200. When I move with the cursor through the image, I would like to change the mouse position to the coordinatees. Can you help me how to do it?
thank you

推荐答案

也许你可以看看Bing Maps?这提供了一个真实的地图并使用真实坐标。
Perhaps you can take a look at Bing Maps? This provides a real map and works with real coordinates.


这篇关于将逻辑屏幕坐标转换为Lat / Long的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆