jumpinjackie/vscode-map-preview

GeoJSON GeometryCollection not working / missing

meschg opened this issue · 2 comments

Hello,

in my tests in looks like the GeometryCollection with the example is not rendering at all. The problem also appears in combination features collection

Best wishes
Gerhard

Specification:
https://tools.ietf.org/html/rfc7946#appendix-A.7

Minimal JSON Test code:

{
    "type": "GeometryCollection",
    "geometries": [
        {
            "type": "LineString",
            "coordinates": [
                [
                    101.0,
                    0.0
                ],
                [
                    102.0,
                    10.0
                ]
            ]
        }
    ]
}

Expected Result (Without Colleciton):
2019-03-16 13_14_05-Map Preview_ polygon json - Worldtrix-Alpha - Visual Studio Code

Geometrie & Features collection test file:
geometrie_feature_collection.txt

Thanks for the fast fix.

I'm still getting this problem with it not showing a FeatureCollection containing a GeometryCollection