forked from MapComplete/MapComplete
Chore: regenerate docs, lint
This commit is contained in:
parent
7b41b617f6
commit
bad0edd4b0
201 changed files with 6044 additions and 1750 deletions
|
@ -14,8 +14,8 @@
|
|||
let _rotation: Store<string> = rotation
|
||||
? tags.map((tags) => rotation.GetRenderValue(tags).Subs(tags).txt)
|
||||
: new ImmutableStore("0deg")
|
||||
if(rotation?.render?.txt === "{alpha}deg"){
|
||||
_rotation = Orientation.singleton.alpha.map(alpha => alpha ? (alpha)+"deg" : "0deg ")
|
||||
if (rotation?.render?.txt === "{alpha}deg") {
|
||||
_rotation = Orientation.singleton.alpha.map((alpha) => (alpha ? alpha + "deg" : "0deg "))
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -50,14 +50,14 @@
|
|||
window.requestAnimationFrame(() => {
|
||||
_map.resize()
|
||||
})
|
||||
_map.on("load", function() {
|
||||
_map.on("load", function () {
|
||||
_map.resize()
|
||||
const canvas = _map.getCanvas()
|
||||
const canvas = _map.getCanvas()
|
||||
if (interactive) {
|
||||
ariaLabel(canvas, Translations.t.general.visualFeedback.navigation)
|
||||
canvas.role = "application"
|
||||
canvas.tabIndex = 0
|
||||
}else{
|
||||
} else {
|
||||
canvas.tabIndex = -1
|
||||
_map.getContainer().tabIndex = -1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue