Skip to content
Snippets Groups Projects
Commit 62212c8a authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge pull request #925 from mariozig/mariozig-patch-1

Update hash syntax
parents 065bb345 85003d23
No related branches found
No related tags found
No related merge requests found
Geocoder.configure( Geocoder.configure(
# geocoding options # Geocoding options
# :timeout => 3, # geocoding service timeout (secs) # timeout: 3, # geocoding service timeout (secs)
# :lookup => :google, # name of geocoding service (symbol) # lookup: :google, # name of geocoding service (symbol)
# :language => :en, # ISO-639 language code # language: :en, # ISO-639 language code
# :use_https => false, # use HTTPS for lookup requests? (if supported) # use_https: false, # use HTTPS for lookup requests? (if supported)
# :http_proxy => nil, # HTTP proxy server (user:pass@host:port) # http_proxy: nil, # HTTP proxy server (user:pass@host:port)
# :https_proxy => nil, # HTTPS proxy server (user:pass@host:port) # https_proxy: nil, # HTTPS proxy server (user:pass@host:port)
# :api_key => nil, # API key for geocoding service # api_key: nil, # API key for geocoding service
# :cache => nil, # cache object (must respond to #[], #[]=, and #keys) # cache: nil, # cache object (must respond to #[], #[]=, and #keys)
# :cache_prefix => "geocoder:", # prefix (string) to use for all cache keys # cache_prefix: 'geocoder:', # prefix (string) to use for all cache keys
# exceptions that should not be rescued by default # Exceptions that should not be rescued by default
# (if you want to implement custom error handling); # (if you want to implement custom error handling);
# supports SocketError and TimeoutError # supports SocketError and TimeoutError
# :always_raise => [], # always_raise: [],
# calculation options # Calculation options
# :units => :mi, # :km for kilometers or :mi for miles # units: :mi, # :km for kilometers or :mi for miles
# :distances => :linear # :spherical or :linear # distances: :linear # :spherical or :linear
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment