Calling all Google Mappers.
I am using the Cluster Marker and HtmlControl javascript files I
downloaded from Martin Pearman's site
http://googlemapsapi.martinpearman.co.uk/home.php. Thanks Martin they
are really useful! I have ~2000 markers which I am reading in via JSON
files which were translated from Excel spreadsheets using the SIMILE
Babel website from MIT http://service.simile-widgets.org/babel/ . The
JSON file is structured as follows:
{
"items" : [
{
"LONG" :
-122.785729938,
"ADDRESS" : "7106
47TH AVE NE OLYMPIA, WA 98506",
"ISSUE_PAR" :
"52970000900",
"LAT" :
47.099699676,
"ISSUEDAT" :
"1|14|2008",
"type" : "Item",
"BPTYPE" : "SF",
"label" : "1240",
"DWLLNGS" : 1,
"I_JURIS" : "CTY"
}, ... etc.
The issue I am running into is that while the site works as I am
expecting for IE 8 when I try loading it in Firefox 3.0 . None of the
markers will draw, my map is not drawing with the expected center and
zoom level and I get the following message in Firefox's error console.
Error: not well-formed
Source File:
file:///P:/Regional/BuildingPermits/Permits2009/website/txt/resperm_2008
.txt
Line: 1, Column: 1
Source Code:
{
This being my first attempt working with JSON and being a novice java
script programmer. I am at a loss trying to figure out what is
happening. Do any you have advice on how to structure my JSON file to be
well formed and why Internet Explorer doesn't have a problem with the
JSON but Firefox does?
Here is a link to the map.
http://www.trpc.org/external/programs/resperm/clustermarker_resperm.php
. Thanks for all your help.
Jeff Holcomb, GIS Analyst
Thurston Regional Planning Council
2424 Heritage Court SW, Suite A
Olympia, WA 98502
Phone: (360) 741-2520
Receptionist: (360) 956-7575
Fax: (360) 956-7815
Website: www.trpc.org <http://www.trpc.org/>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---