Sha256: 325af25a75d845808821283cf9a92ba12cf6173cc0973972dc5cc4c6f17de609
Contents?: true
Size: 1.31 KB
Versions: 66
Compression:
Stored size: 1.31 KB
Contents
# Geocoder initialer slightly changed to work with magic_addresses Geocoder.configure( # geocoding options :timeout => 5, # geocoding service timeout (secs) :lookup => :google, # name of geocoding service (symbol) :language => :de, # ISO-639 language code # :use_https => false, # use HTTPS for lookup requests? (if supported) # :http_proxy => nil, # HTTP proxy server (user:pass@host:port) # :https_proxy => nil, # HTTPS proxy server (user:pass@host:port) # :api_key => nil, # API key for geocoding service # :cache => nil, # cache object (must respond to #[], #[]=, and #keys) # :cache_prefix => "geocoder:", # prefix (string) to use for all cache keys # exceptions that should not be rescued by default # (if you want to implement custom error handling); # supports SocketError and TimeoutError # :always_raise => [], # needs to raise OverQueryLimitError to change lookup type when appears :always_raise => [Geocoder::OverQueryLimitError], # calculation options # :units => :mi, # :km for kilometers or :mi for miles # :distances => :linear # :spherical or :linear # needed for nominatim lookups :http_headers => { "User-Agent" => "YOUR-APP-NAME", "Accept-Language" => "de" }, )
Version data entries
66 entries across 54 versions & 1 rubygems