So I've mostly succeeded implementing the latest example for adding the Google StreetView tool to an Esri JS API application. The address and coordinates return successfully, etc. However the actual street view, or panorama control, only appears in the DIV upon a browser re-size.Anyone else experienced this?Esri API v.3.1Google Maps API v.2Thanks!rGibson
var panorama = gMap.getStreetView(); google.maps.event.addListener(panorama, 'visible_changed', function(){ google.maps.event.trigger(gMap, 'resize'); })
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.