http://www.mapformation.com/portfolio/mashups/springfieldMN/markerclusterer.
js
http://www.mapformation.com/portfolio/mashups/springfieldMN/data.js
These links return a 404 error, Page Not Found.
-
www.easypagez.com/maps/map_index.html
www.easypagez.com/maps/v3_basicmap.html
Ralph
Line 193: Uncaught ReferenceError: i is not defined
MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
'http://www.mapformation.com/images/portfolio/interactive/mashups/basic/markerclusterer/m/'
+
+ i + '.png'; <-- HERE
Line 329: Uncaught SyntaxError: Unexpected identifier
map.addControl(new GLargeMapControl()); <-- HERE
map.addControl(new GMapTypeControl());
My guess is that on the GLargeMapControl control, it shouldn't be there
anymore (along with the GMapTypeControl reference). Related to not
defining "i," I'm not so sure. I did also move the markerclusterer
script after the maps script. Thanks for that.
Also, thank you to Ralph for your previous response as well. I forgot
that I had copied in a bit of old code when modifying that page. The
links are no longer broken, and I still have a shiny white paperweight
staring back at me. :-)
Have a wonderful evening! - Derek
This seems to be not quite right:-
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 15,
center: center,
Should be like this:-
var myOptions = {
zoom: 15,
center: center,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("map"), myOptions);
and as an example this should be:-
var marker = new GMarker(point, {icon:icon});
something like this:-
var marker = new google.maps.Marker({position:point,map:map,
icon:icon });
The syntax for icons has also changed.
http://code.google.com/apis/maps/documentation/javascript/overlays.html#Icon
s
Ralph
-
www.easypagez.com/maps/map_index.html
www.easypagez.com/maps/v3_basicmap.html