[OpenLayers-Users] problem consuming escaped single quotes in
GeoJSON with a clustered vector layer
Zac Spitzer
zac.spitzer at gmail.com
Wed Jun 9 22:28:02 EDT 2010
I have having a problem consuming some GeoJSON,
basically the name value in the sample below is causing
my vector layer to silently abort rendering.
i believe it's valid json, as i can load it into a javascript variable
and dump it to the firebug console
I'm using trunk Revision: 10300
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature",
"fid": 14583,
"geometry": {"type": "Point", "coordinates": [135.4092, -26.461317 ]},
"properties": {
"name": "3 O\'Clock Creek camping area",
"fid": 14583,
"icon": "openlayers/23"}
}
]}
any ideas?
z
--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
More information about the Users
mailing list