mapserver/static/js/map/SearchControl.js

14 lines
329 B
JavaScript
Raw Normal View History

import SearchInput from '../components/SearchInput.js';
2019-06-11 15:16:41 +03:00
export default L.Control.extend({
initialize: function(wsChannel, opts) {
L.Control.prototype.initialize.call(this, opts);
},
2019-04-20 18:59:22 +03:00
onAdd: function(map) {
2019-04-14 20:51:31 +03:00
var div = L.DomUtil.create('div');
m.mount(div, SearchInput);
return div;
}
});