Drop support for mapillary v3.0, small fix for custom themes
This commit is contained in:
parent
f9c4b7ae6d
commit
3570cfbaa8
2 changed files with 27 additions and 70 deletions
|
@ -32,7 +32,7 @@ export default class LegacyJsonConvert {
|
|||
// This is a legacy format, lets create a pointRendering
|
||||
let location: ("point" | "centroid")[] = ["point"]
|
||||
let wayHandling: number = config["wayHandling"] ?? 0
|
||||
if (wayHandling === 2) {
|
||||
if (wayHandling !== 0) {
|
||||
location = ["point", "centroid"]
|
||||
}
|
||||
config.mapRendering = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue