Skip to content
Snippets Groups Projects
Commit 95caf8cf authored by Christian Aust's avatar Christian Aust
Browse files

Add required app_id and token for OVI

parent 0d2e5828
No related branches found
No related tags found
No related merge requests found
......@@ -374,7 +374,7 @@ The following is a comparison of the supported geocoding APIs. The "Limitations"
#### ovi.com (Nokia maps) (`:ovi`)
* **API key**: none
* **API key**: required: `config.api_key = %w{app_id app_token}`
* **Quota**: ?
* **Region**: world
* **SSL support**: no
......
......@@ -16,7 +16,10 @@ module Geocoder::Lookup
def query_url_params(query)
super.merge(
:searchtext => query.sanitized_text
searchtext:query.sanitized_text,
gen:1,
app_id:Geocoder::Configuration.api_key[0],
app_code:Geocoder::Configuration.api_key[1]
)
end
......
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