[Mapbender-commits] r5985 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 20 10:44:15 EDT 2010


Author: kmq
Date: 2010-04-20 10:44:14 -0400 (Tue, 20 Apr 2010)
New Revision: 5985

Modified:
   trunk/mapbender/http/classes/class_kml_placemark.php
Log:
addig some parsing features usefull for dislpaying kml in tyhe client

Modified: trunk/mapbender/http/classes/class_kml_placemark.php
===================================================================
--- trunk/mapbender/http/classes/class_kml_placemark.php	2010-04-20 09:22:42 UTC (rev 5984)
+++ trunk/mapbender/http/classes/class_kml_placemark.php	2010-04-20 14:44:14 UTC (rev 5985)
@@ -84,7 +84,7 @@
 				if ($cnt > 0) {
 					$str .= ",";
 				}
-				$str .= "\"" . $key . "\":\"" . $value . "\"";
+				$str .= "\"" . $key . "\":" . json_encode($value) . "";
 				$cnt ++;
 			}
 			$str .= "}}";



More information about the Mapbender_commits mailing list