Quickfix: add centroids to some renderings which dissappeared during migration

This commit is contained in:
Pieter Vander Vennet 2021-11-08 15:08:24 +01:00
parent c3a4015f53
commit 161bcc8647
11 changed files with 1001 additions and 1036 deletions

View file

@ -2,7 +2,7 @@ import {Utils} from "../Utils";
export default class Constants {
public static vNumber = "0.12.2";
public static vNumber = "0.12.3";
public static ImgurApiKey = '7070e7167f0a25a'
public static readonly mapillary_client_token_v3 = 'TXhLaWthQ1d4RUg0czVxaTVoRjFJZzowNDczNjUzNmIyNTQyYzI2'
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"

View file

@ -17,7 +17,6 @@ export default class LineRenderingConfig extends WithContextLoader {
this.color = this.tr("color", "#0000ff");
this.width = this.tr("width", "7");
this.dashArray = this.tr("dashArray", "");
this.leftRightSensitive = json.offset !== undefined && json.offset !== 0 && json.offset !== "0"
this.offset = this.tr("offset", "0");

View file

@ -55,7 +55,7 @@ export default class TagRenderingConfig {
if (typeof json === "number") {
this.render = Translations.WT("" + json)
this.render = Translations.T("" + json, context + ".render")
return;
}