14 lines
329 B
JavaScript
14 lines
329 B
JavaScript
import SearchInput from '../components/SearchInput.js';
|
|
|
|
export default L.Control.extend({
|
|
initialize: function(wsChannel, opts) {
|
|
L.Control.prototype.initialize.call(this, opts);
|
|
},
|
|
|
|
onAdd: function(map) {
|
|
var div = L.DomUtil.create('div');
|
|
m.mount(div, SearchInput);
|
|
return div;
|
|
}
|
|
});
|