Support » Plugin: Basic Google Maps Placemarks » [Basic Google Maps Placemark] – Firefox not rendering all placemarks

  • Resolved frizzle

    (@frizzle)


    I was having trouble where a huge number of my placemarks were not rendering in Firefox, but were doing so in every other browser. I traced it down to this: if for some reason the plugin does not have a lat/long setting for a placemark, it will send empty strings to the Google Maps API. In other browsers, the Javascript seems to be able to deal with that and just ignores that placemark. In Firefox, you get these unsightly errors:

    Error: uncaught exception: [Exception… “An invalid or illegal string was specified” code: “12” nsresult: “0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)” location: “http://maps.gstatic.com/intl/en_us/mapfiles/api-3/5/14a/main.js Line: 91”]

    Error: uncaught exception: [Exception… “An invalid or illegal string was specified” code: “12” nsresult: “0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)” location: “http://maps.gstatic.com/intl/en_us/mapfiles/api-3/5/14a/main.js Line: 92”]

    So if you get the above errors — you probably accidentally didn’t put a location in. I had to figure out which one was causing the error by looking at the rendered source (which showed me what order they were being sent to Google Maps as a big JSON query at the bottom), and then when I was tinkering with the offending entry, I realized that it was offending because it didn’t have a location plotted.

    Just passing this on in case anyone else was having this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Basic Google Maps Placemark] – Firefox not rendering all placemarks’ is closed to new replies.