Open ghost opened 2 years ago
i added in #15 a link to google maps in case there is no photosphere but i am not sure if we need an extra link to google maps or the street view if the panoid is provided. you can get both links from the embeded street view
i added in #15 a link to google maps in case there is no photosphere but i am not sure if we need an extra link to google maps or the street view if the panoid is provided. you can get both links from the embeded street view
You can try using the following link formats:
When streetview is not available, google maps location from coordinates:
https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=${coordinates}
If streetview is available by pano, not entirely sure if we can have the share button in the embed. We can probably figure out from google maps site it links to and add our own direct link.
Some panoids may be incorrect or empty for both guesses and the round data.
If everything is sent and works as expected:
If panoid is empty or unusable: