Add Google Map of voters
[selectricity-live] / vendor / plugins / geokit / assets / api_keys_template
1 # These defaults are used in GeoKit::Mappable.distance_to and in acts_as_mappable
2 GeoKit::default_units = :miles
3 GeoKit::default_formula = :sphere
4
5 # This is the timeout value in seconds to be used for calls to the geocoder web
6 # services.  For no timeout at all, comment out the setting.  The timeout unit
7 # is in seconds. 
8 GeoKit::Geocoders::timeout = 3
9
10 # These settings are used if web service calls must be routed through a proxy.
11 # These setting can be nil if not needed, otherwise, addr and port must be 
12 # filled in at a minimum.  If the proxy requires authentication, the username
13 # and password can be provided as well.
14 GeoKit::Geocoders::proxy_addr = nil
15 GeoKit::Geocoders::proxy_port = nil
16 GeoKit::Geocoders::proxy_user = nil
17 GeoKit::Geocoders::proxy_pass = nil
18
19 # This is your yahoo application key for the Yahoo Geocoder.
20 # See http://developer.yahoo.com/faq/index.html#appid
21 # and http://developer.yahoo.com/maps/rest/V1/geocode.html
22 GeoKit::Geocoders::yahoo = 'REPLACE_WITH_YOUR_YAHOO_KEY'
23     
24 # This is your Google Maps geocoder key. 
25 # See http://www.google.com/apis/maps/signup.html
26 # and http://www.google.com/apis/maps/documentation/#Geocoding_Examples
27 GeoKit::Geocoders::google = 'REPLACE_WITH_YOUR_GOOGLE_KEY'
28     
29 # This is your username and password for geocoder.us.
30 # To use the free service, the value can be set to nil or false.  For 
31 # usage tied to an account, the value should be set to username:password.
32 # See http://geocoder.us
33 # and http://geocoder.us/user/signup
34 GeoKit::Geocoders::geocoder_us = false 
35
36 # This is your authorization key for geocoder.ca.
37 # To use the free service, the value can be set to nil or false.  For 
38 # usage tied to an account, set the value to the key obtained from
39 # Geocoder.ca.
40 # See http://geocoder.ca
41 # and http://geocoder.ca/?register=1
42 GeoKit::Geocoders::geocoder_ca = false
43
44 # This is the order in which the geocoders are called in a failover scenario
45 # If you only want to use a single geocoder, put a single symbol in the array.
46 # Valid symbols are :google, :yahoo, :us, and :ca.
47 # Be aware that there are Terms of Use restrictions on how you can use the 
48 # various geocoders.  Make sure you read up on relevant Terms of Use for each
49 # geocoder you are going to use.
50 GeoKit::Geocoders::provider_order = [:google,:us]

Benjamin Mako Hill || Want to submit a patch?