Clearly, you have an off-by-one error. Or maybe you need a closure. Or something else is wrong.
Not much help, is it? :-) Give us a link to a test page and you may get some more useful replies... -Mike On Tue, Jul 10, 2012 at 10:07 AM, Hunter McMillen <mcmil...@gmail.com>wrote: > I use a for in loop to iterate over the array so I don't believe that I > could be reading past element 334, The extra comma would throw an error in > firebug. > > 327: {"location":{"$a":-35.5,"ab":172},"weight":"11"} object music.js:730 > 328: {"location":{"$a":-36.5,"ab":151},"weight":"1"} object music.js:730 > 329: {"location":{"$a":-37.5,"ab":151},"weight":"1"} object music.js:730 > 330: {"location":{"$a":-37.5,"ab":168},"weight":"3"} object music.js:730 > 331: {"location":{"$a":-37.5,"ab":169},"weight":"6"} object music.js:730 > 332: {"location":{"$a":-39.5,"ab":161},"weight":"4"} object music.js:730 > 333: {"location":{"$a":-39.5,"ab":162},"weight":"5"} object music.js:730 > 334: {"location":{"$a":-39.5,"ab":165},"weight":"6"} object music.js:730 > > > This is what my data looks like, the error is thrown on element 334, but > when I remove that element; the error just gets propagated to element 333. > > Hunter > > On Tuesday, July 10, 2012 12:53:19 PM UTC-4, Rossko wrote: >> >> > Any thoughts as to why this could be happening? >> >> Wild guesses: >> You have a superflous comma at the end? >> Your code attempts to read beyoend the last element? >> > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-maps-js-api-v3/-/Xw_1pUWNFpQJ. > > 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. > -- 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.