【发布时间】:2016-05-10 11:22:31
【问题描述】:
假设我有两点:l1 = (lat1, lng1) 和 l2 = (lat2, lng2)。如何以编程方式生成相距 x 米的坐标网格?
根据这张图片,if I have the two red points and a value x, I want to find out the coordinates of the yellow points。我知道这两个红点之间的距离(水平或垂直)可能不是 x 的倍数,这可能导致一行和/或列中的最后两个点的距离小于 x。
【问题讨论】:
标签: php coordinates