From 8ddd13db344c5e8199d55a3d950bcc41f9013483 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 3 Oct 2007 05:32:18 +0000 Subject: [PATCH] GeoJSON format back up to spec with draft 4. (See #1028) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/GeoJSON.js | 68 +++++++++++++++++++------------- tests/Format/test_GeoJSON.html | 18 ++++----- 2 files changed, 50 insertions(+), 36 deletions(-) diff --git a/lib/OpenLayers/Format/GeoJSON.js b/lib/OpenLayers/Format/GeoJSON.js index 848a5b488e..0e2d76252c 100644 --- a/lib/OpenLayers/Format/GeoJSON.js +++ b/lib/OpenLayers/Format/GeoJSON.js @@ -93,9 +93,9 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, { break; case "GeometryCollection": results = []; - for(var i=0; i