Running Opera 10.63 I get this error:
"Uncaught exception: TypeError: 'google.maps.Geocoder' is not a
constructor"
It works fine on Firefox, Safari, IE, and Chrome. If I save the page
to my desktop and run it from there, Opera will load the API without
error.
So why would running the page from my localhost not work on Opera?
I'm pulling my hair out. :-)
<script src="
http://maps.google.com/maps/api/js?sensor=true"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(0, 0);
var myOptions = {
zoom: 1,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
}
//]]>
</script>