mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 22:04:07 +00:00
HTML map: new button -show map bounds- in top right corner
This commit is contained in:
@@ -96,7 +96,10 @@
|
||||
<?php } ?>
|
||||
|
||||
<div id="map-wrapper">
|
||||
<div id="map-position"></div>
|
||||
<div id="map-position">
|
||||
<div id="map-position-inner"></div>
|
||||
<div id="map-position-close"><a href="#">hide</a></div>
|
||||
</div>
|
||||
<div id="map"></div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ form label {
|
||||
#map-position {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
right: 20px;
|
||||
padding: 0 5px;
|
||||
color: #333;
|
||||
|
||||
@@ -31,7 +31,7 @@ jQuery(document).on('ready', function(){
|
||||
|
||||
var MapPositionControl = L.Control.extend({
|
||||
options: {
|
||||
position: 'bottomright'
|
||||
position: 'topright'
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
|
||||
Reference in New Issue
Block a user