Wednesday, 25 September 2013

How to get parameter in new google map street view url

How to get parameter in new google map street view url

The old street view I can obtain the parameter of ll= for lat and lng,
cbp= for getting heading and pitch from the Share URL such as below
https://maps.google.com/maps?q=London+Borough+of+Hillingdon,+United+Kingdom&hl=en&ll=51.544098,-0.474593&spn=0.0014,0.003484&sll=52.209371,0.117255&sspn=0.005516,0.013937&oq=london&hq=London+Borough+of+Hillingdon,+United+Kingdom&t=m&z=19&layer=c&cbll=51.544098,-0.474593&panoid=p3rE-jwzNFukt6tfwRCm8Q&cbp=12,244.19,,0,0.97
But the new streetview url changes to shorter and different way.
https://www.google.com/maps/preview#!data=!1m8!1m3!1d3!2d-0.474593!3d51.544098!2m2!1f244.19!2f89.03!4f75!2m4!1e1!2m2!1sp3rE-jwzNFukt6tfwRCm8Q!2e0
Both of this link open same street view with same camera view.
So is there any method I can get the ll= and cbp from new url?

No comments:

Post a Comment