开发者

centralized latitude and longitude from set

开发者 https://www.devze.com 2023-01-31 11:20 出处:网络
I have few values of latitude and longitude. How can i found centralized latitude an开发者_运维百科d longitude from them? and How can i find out proper zoom parameter?You can reverse your question -

I have few values of latitude and longitude.

How can i found centralized latitude an开发者_运维百科d longitude from them? and How can i find out proper zoom parameter?


You can reverse your question - use the technique from this SO question to find the bounding rectangle, then take the average of the corners to find the central point. The distance across the rectangle defines the required zoom.

0

精彩评论

暂无评论...
验证码 换一张
取 消