Add smoothness, add highlighting of a way

This commit is contained in:
Pieter Vander Vennet 2020-07-30 16:34:06 +02:00
parent 8af25a9cdf
commit afaaaaadb1
12 changed files with 146 additions and 12 deletions

View file

@ -39,6 +39,12 @@ export class Layout {
public hideFromOverview : boolean = false;
/**
* The BBOX of the currently visible map are widened by this factor, in order to make some panning possible.
* This number influences this
*/
public widenFactor : number = 0.07;
/**
*
* @param name: The name used in the query string. If in the query "quests=<name>" is defined, it will select this layout
@ -128,7 +134,7 @@ export class WelcomeMessage extends UIElement {
}
protected InnerUpdate(htmlElement: HTMLElement) {
this.osmConnection.registerActivateOsmAUthenticationClass()
this.osmConnection?.registerActivateOsmAUthenticationClass()
}
}