【问题标题】:Lat,Lon to pixel coordinates in imageLat,Lon 到图像中的像素坐标
【发布时间】:2016-08-17 13:11:33
【问题描述】:

您好,我是 android 开发新手。

我在大学项目中,它基于需要将 lat/lng 转换为像素坐标的位置。 在这里,我添加了示例图像以查找 excate x,y 此处标记点的链接(http://i.imgur.com/HRnzpPB.png)。 给定数据是图像角落的 4 个 lat/lng 点

【问题讨论】:

    标签: android latitude-longitude google-latitude


    【解决方案1】:

    当您点击地图到某个点时,地图对象会返回纬度/经度以及像素

    你可以试试这个……

    google.maps.event.addListener(map, 'click', function(e){
    console.log(e)
    });
    

    您会在其中找到像素对象

    【讨论】:

    • 我没有使用地图。它唯一的静态图像
    猜你喜欢
    • 2019-12-29
    • 2011-03-31
    • 1970-01-01
    • 2017-11-27
    • 1970-01-01
    • 2013-09-26
    • 1970-01-01
    • 2018-09-05
    • 2023-04-06
    相关资源
    最近更新 更多