[Mapbender-commits] r5486 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 5 09:30:33 EST 2010


Author: christoph
Date: 2010-02-05 09:30:33 -0500 (Fri, 05 Feb 2010)
New Revision: 5486

Modified:
   branches/2.6/http/javascripts/geometry.js
Log:


Modified: branches/2.6/http/javascripts/geometry.js
===================================================================
--- branches/2.6/http/javascripts/geometry.js	2010-02-05 14:30:01 UTC (rev 5485)
+++ branches/2.6/http/javascripts/geometry.js	2010-02-05 14:30:33 UTC (rev 5486)
@@ -523,7 +523,7 @@
 	// you can pass either geoJSON or the evaluated geoJSON string
 	// for backwards compatibility
 	if (typeof(geoJSON) == 'string') {
-		var geoJSON = eval('(' + geoJSON + ')');
+		var geoJSON = $.parseJSON(geoJSON);
 	}
 
 	//



More information about the Mapbender_commits mailing list