It seems when the issue happened on April 7 (bad Gmap release... which incidentally my topic which had many replies seems to be deleted) that our mapping software has started having many many glitches in it.
This error exists in all browsers. I'm wonedering if anyone can shed light on this. I'm trying to figure out why when I zoom with my mouse wheel, all markers are hidden, and I get the error: --------------------- a is null http://maps.gstatic.com/intl/en_ALL/mapfiles/239b/maps2.api/main.js Line 530 function (a, b) { var c = this.Rn[a.Ca ? a.Ca() : ""]; re(this.Fl, a); if (c) { c.la(a, b); A(this, "removeoverlay", a); } else if (re(a instanceof yj ? this.Yc : this.Qa, a)) { a.remove(); zj(a); A(this, "removeoverlay", a); } } -------------------------------------- My Initialize function is: map = new GMap2(document.getElementById("map")); //we don't want to give the map object to it's constructor. Doing so will automatically modify the map //when we run directions. instead, we just want to use the direction object seperate of the map object. gdir = new GDirections(null, document.getElementById("directions")); geoStart = new GClientGeocoder(); overlays = new SVOverlay(); //map.setUIToDefault(); map.addMapType(G_PHYSICAL_MAP); map.addControl(new GLargeMapControl3D()); map.addControl(new GScaleControl()); map.addControl(new GMapTypeControl()); //mapTypeControl = new GMapTypeControl(); //map.addControl(mapTypeControl); map.addControl(overlays); map.enableContinuousZoom(); map.enableScrollWheelZoom(); keyboardHandler = new GKeyboardHandler(map); //Set the Center //setStartingLatLng(startingAddress,startingLat,startingLng, startingZoom) map.setCenter(new GLatLng(startingLat, startingLng), startingZoom); //When the map is zoomed, we need to update the tooltip positions so they stay near the markers. GEvent.addListener(map,"zoomend", function() { if(units) { drawToolTips(true); } }); GEvent.addListener(map, "moveend", function() { if(units) { drawToolTips(); } }); GEvent.addListener(gdir, "load", function() { if(dPoly) map.removeOverlay(dPoly); dPoly = gdir.getPolyline(); map.addOverlay(dPoly); }); GEvent.addListener(gdir, "error", function() { var code = gdir.getStatus().code; var reason="Code "+code; if (reasons[code]) { reason = "Code "+code +" : "+reasons[code] } alert("Failed to obtain directions, "+reason); }); // map type changed Do we want to do anything? GEvent.addListener(map,"maptypechanged", function() { }); toggleState("error"); toggleState("tracking"); startGeneralUse(); } } -- 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.
