Google Street View : Récupérateur de données ?

Nouveau WRInaute
// google map normal par exemple
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

// récuperation de l'instance qui semble etre en interne
panorama = map.getStreetView();

// puis dans une fonction de récupération au moment que tu souhaites

alert(panorama.getPov().heading + " " + panorama.getPov().zoom + " " + panorama.getPov().pitch);


Il faut bien entendu récupérer aussi panorama.getPosition...
 

➡️ Offre MyRankingMetrics ⬅️

pré-audit SEO gratuit avec RM Tech (+ avis d'expert)
coaching offert aux clients (avec Olivier Duffez ou Fabien Faceries)

Voir les détails ici

coaching SEO
Discussions similaires
Haut