]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
configure tile set
[nominatim.git] / lib / template / search-html.php
index 3b664e544d3d9f503007f341edcdca05ac5e7cb4..986b4e4d6a02c9ab4d9150dddc7c96c492b4ef7b 100644 (file)
@@ -9,7 +9,7 @@
        <link href="nominatim.xml" rel="search" title="Nominatim Search" type="application/opensearchdescription+xml" />
 
        <script src="js/OpenLayers.js"></script>
-       <script src="js/OpenStreetMap.js"></script>
+       <script src="js/tiles.js"></script>
        <script src="js/prototype-1.6.0.3.js"></script>
 
        <style>
@@ -293,7 +293,7 @@ form{
                                                                        "moveend": mapEventMove,
                                                                }
                } );
-                       map.addLayer(new OpenLayers.Layer.OSM.Mapnik("Mapnik"));
+                       map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default"));
 
                        var layer_style = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']);
                        layer_style.fillOpacity = 0.2;