php批量转换谷歌地图坐标为百度地图坐标

摘要: 获取POI lat lon大众点评网1. if you find a shop, which has the following linkwww.dianping.com/shop/3174400/2. manually attache map to make the link looks likewww.dianping.com/shop/3174400/map3. do a vi ...

获取POI lat lon

大众点评网1. if you find a shop, which has the following linkwww.dianping.com/shop/3174400/2. manually attache map to make the link looks likewww.dianping.com/shop/3174400/map3. do a view source on that pagein the middle of the page, you will find something likep: “HETHVFZVVJDHUD”m: $(“ShopGMap”)shopId: “3174400″the p: number is the encoded Lat, lon valuefollowing is the script to decode it