1
0
forked from MTSR/mapserver
mapserver/server/static/js/SearchControl.js

17 lines
376 B
JavaScript
Raw Normal View History

/* exported SearchControl */
var SearchControl = L.Control.extend({
initialize: function(wsChannel, opts) {
L.Control.prototype.initialize.call(this, opts);
},
onAdd: function() {
2019-04-14 20:51:31 +03:00
var div = L.DomUtil.create('div');
m.mount(div, SearchInput);
m.mount(document.getElementById("search-content"), SearchMenu);
return div;
}
});