File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments