forked from MapComplete/MapComplete
Add viewpoint for buurtnatuur, add translation of AddPointPoi
This commit is contained in:
parent
7bbc140f05
commit
c3d04c79b9
13 changed files with 271 additions and 71 deletions
7
index.ts
7
index.ts
|
@ -274,8 +274,7 @@ new UserBadge(osmConnection.userDetails,
|
|||
|
||||
new SearchAndGo(bm).AttachTo("searchbox");
|
||||
|
||||
const welcome = new WelcomeMessage(layoutToUse, osmConnection).onClick(() => {
|
||||
});
|
||||
const welcome = new WelcomeMessage(layoutToUse, osmConnection).onClick(() => {});
|
||||
|
||||
const help = new FixedUiElement(`<div class='collapse-button-img'><img src='assets/help.svg' alt='help'></div>`);
|
||||
const close = new FixedUiElement(`<div class='collapse-button-img'><img src='assets/close.svg' alt='close'></div>`);
|
||||
|
@ -291,6 +290,8 @@ new CheckBox(
|
|||
new FullScreenMessageBoxHandler(fullScreenMessage, () => {
|
||||
selectedElement.setData(undefined)
|
||||
}).update();
|
||||
fullScreenMessage.setData(new WelcomeMessage(layoutToUse, osmConnection))
|
||||
|
||||
|
||||
new CenterMessageBox(
|
||||
minZoom,
|
||||
|
@ -310,5 +311,5 @@ osmConnection.registerActivateOsmAUthenticationClass();
|
|||
new GeoLocationHandler(bm).AttachTo("geolocate-button");
|
||||
|
||||
|
||||
|
||||
locationControl.ping()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue