I fixed the 'lat' is null or not an object index2.html Line:69 problem. Typo that FF, Chrome, and others could handle but IE could not. Does not affect the Failed main.js problem though.
On Wed, Mar 9, 2011 at 11:25 AM, Karen Ryberg <ryberg...@gmail.com> wrote: > I have a page here http://nd.water.usgs.gov/floodtracking/index2.html > that works in FireFox, Safari, and Chrome. However it does not work > in IE 8. There are no errors in the FireFox error console, the HTML > and CSS validate. > > When I open the page in IE, sometimes the zoom and scale controls are > there, sometimes they are not. The map always appears, centered > properly, with the markers. Sometimes I can pan, rarely the markers > are clickable, most of the time not. > > The first error on the page I get is > > 'lat' is null or not an object > index2.html Line:69 > > I have two sets of marker on the map, this error refers to the second > set in the file http://nd.water.usgs.gov/floodtracking/charts/markersf.js > which looks like this > > var markersf = [ > { num: "05113750", nom: "EAST BRANCH SHORT CREEK RES NR COLUMBUS, ND", > lat: 48.99058800, lng: -102.78573030 }, > { num: "05116000", nom: "SOURIS RIVER NR FOXHOLM, ND", lat: > 48.37223570, lng: -101.50544140 } > ]; > > The lat is not missing for either entry and both markers show up on > the map in IE and other browsers, so it is being read. Also, I have > no comma after the final element (several days ago I read this could > be a problem with IE). It's in the same format at as the other > markers.js file which is not causing problems. > > If I then click on a marker in IE i get the error message > > Failed > main.js Line:8 > Code: 0 Char:118 > URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js > > Suggestions would be appreciated. > > Thank you. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.