diff --git a/js/UI.js b/js/UI.js new file mode 100644 index 00000000..c1fbf157 --- /dev/null +++ b/js/UI.js @@ -0,0 +1,79 @@ +'use strict' + +import 'https://unpkg.com/leaflet@1.9.4/dist/leaflet.js' +import { map } from './map.js' + +/** + * Search bar with menu button + */ +L.Control.Search = L.Control.extend({ + onAdd: function () { + this.container = L.DomUtil.create('div') + this.container.innerHTML = + '