Skip to content

Commit e5feb48

Browse files
authored
Merge pull request #70 from LukePrior/testing
move last updated text
2 parents fdd5b16 + 45744a1 commit e5feb48

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

js/tracker.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -421,15 +421,6 @@ function load() {
421421
// fullscreen button
422422
map.addControl(new L.Control.Fullscreen({ position: 'bottomleft' }));
423423

424-
// scale (would be better if integrated into attirbution bar)
425-
L.control.scale({position:'bottomright', imperial:false}).addTo(map);
426-
427-
// zoom controls
428-
new L.Control.Zoom({ position: 'bottomright' }).addTo(map);
429-
430-
// map selector
431-
layers = L.control.layers(baseMaps, null, {position: "topleft"}).addTo(map);
432-
433424
// update time div
434425
L.Control.Status = L.Control.extend({
435426
onAdd: function(map) {
@@ -452,6 +443,15 @@ function load() {
452443

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

446+
// scale (would be better if integrated into attirbution bar)
447+
L.control.scale({position:'bottomright', imperial:false}).addTo(map);
448+
449+
// zoom controls
450+
new L.Control.Zoom({ position: 'bottomright' }).addTo(map);
451+
452+
// map selector
453+
layers = L.control.layers(baseMaps, null, {position: "topleft"}).addTo(map);
454+
455455
L.Control.PeriodControl = L.Control.extend({
456456
onAdd: function(map) {
457457
var div = L.DomUtil.create('div');

0 commit comments

Comments
 (0)