happy jshint
This commit is contained in:
parent
cb3d8bea54
commit
7c24c4b030
@ -1,4 +1,3 @@
|
||||
import RealtimeTileLayer from './map/RealtimeTileLayer.js';
|
||||
|
||||
class LayerManager {
|
||||
|
||||
|
@ -15,7 +15,7 @@ export default {
|
||||
"option",
|
||||
{ value: layer.id, selected: layer.id == LayerManager.getCurrentLayer().id },
|
||||
layer.name
|
||||
))
|
||||
));
|
||||
|
||||
return m("select", { class: "form-control", onchange: onchange },layers);
|
||||
}
|
||||
|
@ -9,9 +9,9 @@ const Component = {
|
||||
return m("div", [
|
||||
cfg.enablesearch ? m(SearchInput) : null,
|
||||
m(LayerSelector)
|
||||
])
|
||||
]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
export default L.Control.extend({
|
||||
|
@ -1,5 +1,4 @@
|
||||
import debounce from '../../util/debounce.js';
|
||||
import wsChannel from '../../WebSocketChannel.js';
|
||||
import layerMgr from '../../LayerManager.js';
|
||||
|
||||
import { getMapObjects } from '../../api.js';
|
||||
|
Loading…
Reference in New Issue
Block a user