GEOJSON

Generator geojson

//linia
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "coordinates": [
          [
            165.30120933462496,
            -21.141440231984618
          ],
          [
            165.311113337186,
            -21.210519806637578
          ]
        ],
        "type": "LineString"
      }
    }
  ]
}
// linia i polygon
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "coordinates": [
          [
            165.30120933462496,
            -21.141440231984618
          ],
          [
            165.311113337186,
            -21.210519806637578
          ]
        ],
        "type": "LineString"
      }
    },
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "coordinates": [
          [
            [
              165.3033882151915,
              -21.14107073580341
            ],
            [
              165.31071717708812,
              -21.18263327407972
            ],
            [
              165.3576621492253,
              -21.175245231536167
            ],
            [
              165.328544381697,
              -21.158066606283555
            ],
            [
              165.34399462569166,
              -21.136451955786086
            ],
            [
              165.3033882151915,
              -21.14107073580341
            ]
          ]
        ],
        "type": "Polygon"
      }
    }
  ]
}
// Poligony z okreslonymi właściwosciami

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "Wlasciwosc 1": "wartosc1",
        "stroke": "#555555",
        "stroke-width": 5,
        "stroke-opacity": 0.4,
        "fill": "#555555",
        "fill-opacity": 0.5,
        "Wlasciwosc 2 ": "wartosc2"
      },
      "geometry": {
        "coordinates": [
          [
            [
              165.30368533526484,
              -21.1561269588005
            ],
            [
              165.29427653283267,
              -21.153725455281744
            ],
            [
              165.28922549152594,
              -21.157881879046087
            ],
            [
              165.29071109191045,
              -21.167487389670015
            ],
            [
              165.30051605444544,
              -21.164531914339406
            ],
            [
              165.30368533526484,
              -21.1561269588005
            ]
          ]
        ],
        "type": "Polygon"
      },
      "id": 0
    },
    {
      "type": "Feature",
      "properties": {
        "Wlasciwosc 1": "wlasciwosc 1 dla drugiego obiektu",
        "stroke": "#ffffff",
        "stroke-width": 12,
        "fill": "#1f2a7f",
        "fill-opacity": 1
      },
      "geometry": {
        "coordinates": [
          [
            [
              165.3059396688704,
              -21.15724101750716
            ],
            [
              165.3037918075226,
              -21.16458546692857
            ],
            [
              165.31218799278878,
              -21.168955544864758
            ],
            [
              165.31856649012553,
              -21.158090807156967
            ],
            [
              165.3059396688704,
              -21.15724101750716
            ]
          ]
        ],
        "type": "Polygon"
      },
      "id": 1
    }
  ]
}