Google maps giving errors

Discussion in 'JavaScript' started by snails07, May 5, 2011.

  1. #1
    I have a site set up that uses google maps to show the locations of golf courses for various cities in australia.

    The map works perfectly for some cities but does not show up for others.
    For the cities that don't work, firebug gives me the following error:

    missing } after property list

    If I delete some of the courses for a city that isn't working, then it works.

    Please take a look at http://publicaccessgolf.com.au and the map won't show up. But if you change the city to Brisbane or Perth then it works.

    I don't know how to debug javascript so I'm hoping that one of you kind folk could point me in the right direction as to what is happening.

    It is a wordpress site and I uploaded all of the data directly into the database, not through the wordpress admin section if this makes any difference.

    Cheers
     
    snails07, May 5, 2011 IP
  2. snails07

    snails07 Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    Found the solution, I had some commas in some of the street names that was causing it to break.
     
    snails07, May 6, 2011 IP