]> git.openstreetmap.org Git - nominatim.git/commitdiff
wrap KML polygon in XML output with geokml element
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 11 Nov 2012 21:46:22 +0000 (22:46 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 11 Nov 2012 21:46:22 +0000 (22:46 +0100)
lib/template/search-xml.php

index 84e177750b020b7c919126517b1fdab4dfb8485f..fa6b14a37af693515b52473f071822fdb8172d78 100644 (file)
@@ -94,8 +94,9 @@
 
                if (isset($aResult['askml']))
                {
-                       echo "\n";
+                       echo "\n<geokml>";
                        echo $aResult['askml'];
+                       echo "</geokml>";
                }
 
                if (isset($aResult['address']))