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