HTML map: new button -show map bounds- in top right corner

This commit is contained in:
Marc Tobias Metten
2016-08-24 04:21:28 +02:00
parent 797c2d1e74
commit 87b6810eba
3 changed files with 6 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ form label {
#map-position {
display: none;
position: absolute;
bottom: 0;
top: 0;
right: 20px;
padding: 0 5px;
color: #333;

View File

@@ -31,7 +31,7 @@ jQuery(document).on('ready', function(){
var MapPositionControl = L.Control.extend({
options: {
position: 'bottomright'
position: 'topright'
},
onAdd: function (map) {