You've still got two <html> tags. I don't like this comment line in your page ... <!--This </script> is appariently needed, other wise if removed the map goes away--> </script>
For a start, it's an HTML comment ; the javascript browser doesn't know to ignore it. It's within a javascript, so use the javascript comment notation //. It's the --> that's the problem. http://www.w3schools.com/JS/js_howto.asp Secondly some browsers will still see the </script> tag even within a comment because they treat it 'special'. That would terminate the script interpreting early and leave unwanted bits of text and an extra </script> to mess things up. http://www.wwco.com/~wls/blog/2007/04/25/using-script-in-a-javascript-literal/ This next part still causes a syntax error in my browsers <script type="text/javascript"> <![CDATA[ because as Ralph pointed out, the <![CDATA[ tag hasn't been hidden from the javascript by //, and the javascript interpeter has no idea what to do with the CDATA (it's an HTML construct) http://javascript.about.com/library/blxhtml.htm All this and we haven't got to the map yet ... So far as I can see, at load time the function initialize() is called, which creates the map, with streetview overlay. And that's the end of that. Nothing ever looks for any extra markers to add. There are some oddly dangling javascript lines - addMarkers(); map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds)); I think perhaps these are meant to go on the end of the initialize() function. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
