Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
move last updated text
  • Loading branch information
LukePrior committed Jul 28, 2021
commit 45744a1962786499d1075f4aa72a2094dfe02c96
18 changes: 9 additions & 9 deletions js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,15 +421,6 @@ function load() {
// fullscreen button
map.addControl(new L.Control.Fullscreen({ position: 'bottomleft' }));

// scale (would be better if integrated into attirbution bar)
L.control.scale({position:'bottomright', imperial:false}).addTo(map);

// zoom controls
new L.Control.Zoom({ position: 'bottomright' }).addTo(map);

// map selector
layers = L.control.layers(baseMaps, null, {position: "topleft"}).addTo(map);

// update time div
L.Control.Status = L.Control.extend({
onAdd: function(map) {
Expand All @@ -452,6 +443,15 @@ function load() {

L.control.status({ position: 'bottomright' }).addTo(map);

// scale (would be better if integrated into attirbution bar)
L.control.scale({position:'bottomright', imperial:false}).addTo(map);

// zoom controls
new L.Control.Zoom({ position: 'bottomright' }).addTo(map);

// map selector
layers = L.control.layers(baseMaps, null, {position: "topleft"}).addTo(map);

L.Control.PeriodControl = L.Control.extend({
onAdd: function(map) {
var div = L.DomUtil.create('div');
Expand Down