Skip to content

Commit 69bf70f

Browse files
committed
Add controlslist="search" to default generated mapml-viewer
1 parent 9c14a99 commit 69bf70f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/background.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ function createMap() {
130130
let focus = !hash;
131131
map.setAttribute("projection", projection);
132132
map.setAttribute("controls", "");
133+
map.setAttribute("controlslist", "search");
133134
map.setAttribute("lat", lat);
134135
map.setAttribute("lon", lon);
135136
map.setAttribute("zoom", zoom);

0 commit comments

Comments
 (0)