]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-html.php
index 07c26be14785b35bed54406515c19889671b05c4..75084c86d8c4c6c0d3909109582c681502dd99c1 100644 (file)
                 controls:[
                                                                                new OpenLayers.Control.Navigation(),
                                                                                new OpenLayers.Control.PanZoomBar(),
-                                                                               new OpenLayers.Control.MouseDefaults(),
                                                                                new OpenLayers.Control.MousePosition(),
+                                                                               new OpenLayers.Control.TouchNavigation({
+                                                                                       dragPanOptions: { enableKinetic: true }
+                                                                               }),
+
                                                                                new OpenLayers.Control.Attribution()],
                 maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
                 maxResolution: 156543.0399,
                                <tr>
                                        <td valign="middle" style="width:30px;"><img alt="logo" src="images/logo.gif" /></td>
                                        <td valign="middle" style="width:400px;"><input id="q" name="q" value="<?php echo htmlspecialchars($sQuery); 
-?>" style="width:270px;" /><input type="text" id="viewbox" style="width:128px;" name="viewbox" /></td>
+?>" style="width:270px;" /><input type="text" id="viewbox" style="width:120px;" name="viewbox" /></td>
                                        <td style="width:80px;"><input type="submit" value="Search"/></td>
 <?php if (CONST_Search_AreaPolygons) { ?>                                      <td style="width:100px;"><input type="checkbox" value="1" name="polygon" <?php if ($bAsText) echo "checked='checked'"; ?>/> Highlight</td>
 <td style="text-align:right;">Data: <?php echo $sDataDate; ?></td>