]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
Import class:type from linked features to the extratags files. Use place tags (in...
[nominatim.git] / lib / template / search-xml.php
index fa6b14a37af693515b52473f071822fdb8172d78..be05cb40c85b336b44bb241f9b80fac39a0c0c09 100644 (file)
@@ -1,6 +1,5 @@
 <?php
        header("content-type: text/xml; charset=UTF-8");
-       header("Access-Control-Allow-Origin: *");
 
        echo "<";
        echo "?xml version=\"1.0\" encoding=\"UTF-8\" ?";
@@ -82,6 +81,7 @@
 
                echo " class='".htmlspecialchars($aResult['class'])."'";
                echo " type='".htmlspecialchars($aResult['type'])."'";
+               echo " importance='".htmlspecialchars($aResult['importance'])."'";
                if (isset($aResult['icon']) && $aResult['icon'])
                {
                        echo " icon='".htmlspecialchars($aResult['icon'], ENT_QUOTES)."'";