$(document).ready(function(){
// MarkerManager testing
var map;
var mgr;
console.log("Calling load");
load();
});
function load() {
map = new google.maps.Map(document.getElementById("gameMap"));
mgr = new MarkerManager(map);
console.log("Variables set");
google.maps.event.addListener(mgr, "loaded", function() {
console.log("Map ready");
setPoints();
google.maps.event.addListener(map, "zoom_changed", function() {
updateStatus(mgr.getMarkerCount(map.getZoom()));
});
});
}
If more code would help I can post the full code on pastebin. This is using the Google Maps v3 and MarkerManager 1.0 libraries.
Thanks in advance,
- dC
--
You received this message because you are subscribed to the Google Groups "google-maps-utility-library-v3" group.
To post to this group, send email to google-maps-uti...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-utility-l...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-utility-library-v3?hl=en.