On Feb 27, 10:31 am, melvinsb <[email protected]> wrote: > Hi All, > > Windows 2003 Server SP2, IE 7 browser > > Existing and functioning Google Maps app now fails after attempting to > add Streetview to it. > (a) Blue overlay paints on map fine but on clicking, an error occurs > apparently due to a Flash object being null. > (b) Was able to copy Google Maps JavaScript API Example: Streetview > Click Example to my server and successfully run it (using my key of > course). > > Further info on error occuring on map click ... > > ######################################################## > MS JScript runtime error: "Object required" > > maps.google.com/.../main.js > Line 336 > function Nm(a,b){if(a.innerHTML!=b){Mm(a);a.innerHTML=b}} > > b is null, according to VS debugger. > ######################################################## > > Snippet from src code (stripped of commented-out and debugging > "alerts" code) ... > ======================================================== > if (GBrowserIsCompatible()) > { > myPano = new GStreetviewPanorama(document.getElementById("pano")); > GEvent.addListener(myPano, "error", handleNoFlash); > svOverlay = new GStreetviewOverlay(); > map.addOverlay(svOverlay); > > GEvent.addListener(map,"click", function(overlay,latlng) { > myPano.setLocationAndPOV(latlng); > });} > > ======================================================== >
None of the above is useful without a link to your map... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
