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

19 lines
439 B
JavaScript
Raw Normal View History

/* exported SearchControl */
2019-04-15 08:54:11 +03:00
/* globals SearchInput: true */
/* globals SearchMenu: true */
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;
}
});