[Mapbender-commits] r9843 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jan 11 09:08:44 PST 2018
Author: armin11
Date: 2018-01-11 09:08:44 -0800 (Thu, 11 Jan 2018)
New Revision: 9843
Modified:
trunk/mapbender/http/php/mod_GetPublishedData.php
Log:
Fix for kml export
Modified: trunk/mapbender/http/php/mod_GetPublishedData.php
===================================================================
--- trunk/mapbender/http/php/mod_GetPublishedData.php 2018-01-11 16:11:01 UTC (rev 9842)
+++ trunk/mapbender/http/php/mod_GetPublishedData.php 2018-01-11 17:08:44 UTC (rev 9843)
@@ -361,7 +361,7 @@
//convert geojson to kml via classes
//initialize new kml objekt
$kml = new Kml();
- $kml->parseGeoJSON($geoJson);
+ $kml->parseGeoJSON(json_encode($geoJson));
header("Content-type: text/xml");
return $kml->__toString();
die();
More information about the Mapbender_commits
mailing list