how do I get the bounds of a static google map?

会有一股神秘感。 提交于 2019-12-04 14:02:41
JeremyKun

I ran into this problem before. Last time I checked (which was a bit over a year ago), the Maps API encoded most of its information via Geohashing. I suggest you start by looking at the Wikipedia page for it, and see this other stackoverflow question, which appears to have a Java implementation of what you want.

ianmcook

The method described in this answer to another StackOverflow question worked perfectly for me. Also, the code Marcelo has provided is mostly straightforward to translate from JavaScript into another language, e.g. Python.

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