Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons

Move History and Export buttons to secondary nav
This commit is contained in:
Andy Allan 2024-11-13 19:15:59 +00:00 committed by GitHub
commit 7f611b295f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 44 additions and 26 deletions

View file

@ -32,6 +32,7 @@ OSM.Search = function (map) {
$(".describe_location").on("click", function (e) {
e.preventDefault();
$("header").addClass("closed");
var center = map.getCenter().wrap(),
precision = OSM.zoomPrecision(map.getZoom()),
lat = center.lat.toFixed(precision),