fromGeoJson

Creates a Polygon from a GeoJSON Polygon string.

Return

A new Polygon instance.

Parameters

json

The GeoJSON string.