class GeoJSON::Point

Overview

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

Defined in:

geojson/point.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.2


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

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

[View source]
def self.new(*, longitude, latitude, altitude = nil, bbox = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def altitude(*args, **options) #

[View source]
def altitude(*args, **options, &) #

[View source]
def coordinates : Coordinates #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def latitude(*args, **options) #

[View source]
def latitude(*args, **options, &) #

[View source]
def longitude(*args, **options) #

[View source]
def longitude(*args, **options, &) #

[View source]
def type : String #

[View source]