如何获得给定此Google地方网址的地址和坐标? [英] How do I get the address and coordinates given this google place url?
问题描述
https://www.google.com/maps/place/@/data=!4m2!3m1!1s0x88c2cdd22ab04385:0xf12ec367be629fbc
如何获得给定此Google地方网址的地址和坐标?
从这些相关问题的答案中:
-
https://www.google.com/maps/place/@/data=!4m2!3m1!1s0x88c2cdd22ab04385:0xf12ec367be629fbc
How do I get the address and coordinates given this google place url?解决方案From the answer to these related questions:
- how do i decode/encode the url parameters for the new google maps?
- Decoding the Google Maps embedded parameters
https://www.google.com/maps/place/@/data= !4m2 !3m1 !1s0x88c2cdd22ab04385:0xf12ec367be629fbc
ftid is 0x88c2cdd22ab04385:0xf12ec367be629fbc
There are no coordinates in the provided URL. That is only a ftid for Jimmy John's
If you decode the URL retrieved from that redirected request:
https://www.google.com/maps/place/Jimmy+John's/@27.9371703,-82.2956035,17z/data=!3m1!4b1!4m5!3m4!1s0x88c2cdd22ab04385:0xf12ec367be629fbc!8m2!3d27.9371703!4d-82.2934148
you can get coordinates (note, they are not the coordinates after the
@
, they are decoded from the last two entries in the URL):27.9371703,-82.2934148
这篇关于如何获得给定此Google地方网址的地址和坐标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!