Skip to content

User Drawings that aren't Geometry Collections FAIL #30

@rhodges

Description

@rhodges

In Scenarios.js near line 1850:

for (var feature_index = 0; feature_index < collection.geometry.geometries.length; feature_index++){

If they feature is a MultiPolygon or anything NOT a geometry collection, this breaks and the drawing doesn't load.

Either this code needs to handle more geometry types, or the API should ONLY return Geometry Collections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions