class Maptiler::Geocoding

Defined in:

maptiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, baseURL : URI = @baseURL, bbox : BBox | Nil = nil, proximity : Proximity | Nil = nil, language : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def baseURL : URI #

[View source]
def baseURL=(baseURL : URI) #

[View source]
def bbox : BBox | Nil #

[View source]
def bbox=(bbox : BBox | Nil) #

[View source]
def get(query : String, bbox : BBox | Nil = nil, proximity : Proximity | Nil = nil, language : Array(String) | Nil = nil) : GeoJSON::FeatureCollection | Nil #

[View source]
def key : String #

[View source]
def key=(key : String) #

[View source]
def language : Array(String) | Nil #

[View source]
def language=(language : Array(String) | Nil) #

[View source]
def lookup(**args) #

[View source]
def prepare(query : String, bbox : BBox | Nil = nil, proximity : Proximity | Nil = nil, language : Array(String) | Nil = nil) : URI #

[View source]
def proximity : Proximity | Nil #

[View source]
def proximity=(proximity : Proximity | Nil) #

[View source]