class GeoJSON::Polygon

Overview

https://tools.ietf.org/html/rfc7946#section-3.1.6

Defined in:

geojson/polygon.cr

Constructors

Instance Method Summary

Instance methods inherited from class GeoJSON::Object

bbox : Array(Float64) | Nil bbox, type : String type

Constructor methods inherited from class GeoJSON::Object

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

https://tools.ietf.org/html/rfc7946#section-3.1.6


[View source]
def self.new(coordinates : Array(Array(Coordinates)), *, bbox = nil) #

[View source]
def self.new(coordinates : Array(Array(Point)), *, bbox = nil) #

[View source]
def self.new(coordinates : Array(Array(Array(Float64))), *, bbox = nil) #

[View source]

Instance Method Detail

def coordinates : Array(Array(Coordinates)) #

[View source]
def type : String #

[View source]