back button to top left and new emoji

This commit is contained in:
cixio 2021-08-10 15:52:10 +02:00
parent d07ef52d22
commit 8dc3c7b504
1 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
$(document).ready(function(){ $(document).ready(function(){
var map = L.map('map', { attributionControl: false }); var map = L.map('map', { attributionControl: false, zoomControl: false });
map.on('mousedown touchstart',function () { follow=false; }); map.on('mousedown touchstart',function () { follow=false; });
L.control.scale().addTo(map); L.control.scale().addTo(map);
@ -67,12 +67,13 @@ headtxt = function(data,stat) {
$('#sonde_statbar').html(statbar); $('#sonde_statbar').html(statbar);
}; };
map.addControl(new L.Control.Button([{ position: 'topleft', text: '🗺️', href: 'javascript:basemap_change();' }])); map.addControl(new L.Control.Button([ { position: 'topleft', text: '🔙', href: 'index.html' } ]));
L.control.zoom({ position:'topleft' }).addTo(map);
map.addControl(new L.Control.Button([ map.addControl(new L.Control.Button([ { position: 'topleft', text: '🗺️', href: 'javascript:basemap_change();' } ]));
{ position: 'topright', id: "status", text: '🔴', href: 'javascript:get_data();' },
{ text: '⚙️', href: 'index.html' } map.addControl(new L.Control.Button([ { position: 'topright', id: "status", text: '🔴', href: 'javascript:get_data();' } ]));
]));
map.addControl(new L.Control.Button([ map.addControl(new L.Control.Button([
{ position:'topright', text: '🎈', href: 'javascript:show(marker,\'marker\');' }, { position:'topright', text: '🎈', href: 'javascript:show(marker,\'marker\');' },