forked from MapComplete/MapComplete
Feature: show geocoded images on the map when hovered, show interactive minimap on nearbyImages element
This commit is contained in:
parent
d079ba91aa
commit
f3fdc95bd0
23 changed files with 404 additions and 182 deletions
|
@ -718,7 +718,7 @@ export class ValidatePointRendering extends DesugaringStep<PointRenderingConfigJ
|
|||
if (json.marker && !Array.isArray(json.marker)) {
|
||||
context.enter("marker").err("The marker in a pointRendering should be an array")
|
||||
}
|
||||
if (json.location.length == 0) {
|
||||
if (!(json.location?.length > 0)) {
|
||||
context
|
||||
.enter("location")
|
||||
.err(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue