forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
047d741b1d
commit
39a98ed4a1
30 changed files with 1362 additions and 1690 deletions
|
|
@ -56,10 +56,9 @@ export class PointImportButtonViz implements SpecialVisualization {
|
|||
state: SpecialVisualizationState,
|
||||
tagSource: UIEventSource<Record<string, string>>,
|
||||
argument: string[],
|
||||
feature: Feature,
|
||||
feature: Feature
|
||||
): BaseUIElement {
|
||||
|
||||
const to_point_index = this.args.findIndex(arg => arg.name === "to_point")
|
||||
const to_point_index = this.args.findIndex((arg) => arg.name === "to_point")
|
||||
const summarizePointArg = argument[to_point_index].toLowerCase()
|
||||
if (feature.geometry.type !== "Point") {
|
||||
if (summarizePointArg !== "no" && summarizePointArg !== "false") {
|
||||
|
|
@ -75,7 +74,7 @@ export class PointImportButtonViz implements SpecialVisualization {
|
|||
<Feature<Point>>feature,
|
||||
baseArgs,
|
||||
tagsToApply,
|
||||
tagSource,
|
||||
tagSource
|
||||
)
|
||||
|
||||
return new SvelteUIElement(PointImportFlow, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue