HereGeocoder
Custom geokit geocoder for Here.com service.
Installation
Add this line to your application's Gemfile:
gem 'here_geocoder'
And then execute:
$ bundle
Or install it yourself as:
$ gem install here_geocoder
Configuration
# This is your Here application key for the Here Geocoder.
# See https://developer.here.com/develop/rest-apis
Geokit::Geocoders::HereGeocoder.app_id = 'REPLACE_WITH_YOUR_KEY'
Geokit::Geocoders::HereGeocoder.app_code = 'REPLACE_WITH_YOUR_CODE'
Usage
# use :here to specify this geocoder in your list of geocoders.
Geokit::Geocoders::HereGeocoder.geocode("Sunnyvale, CA")
Contributing
- Fork it ( https://github.com/[my-github-username]/here_geocoder/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request