Sha256: c4411d1a68fef2c2be164fd260e2d85f600ac50c6c6ac62d00c2c98abbc9b024
Contents?: true
Size: 792 Bytes
Versions: 1
Compression:
Stored size: 792 Bytes
Contents
# GogoMaps Super simple geocode interface for Ruby, by using awesome GoogleMaps API ## Installation Install gem as you like. $ gem install gogo_maps or $ echo "gem 'gogo_maps'" >> Gemfile ## Demo ```ruby require 'gogo_maps' # Address to lat and lng. GogoMaps.get_latlng('長野県上高井郡高山村') # => { lat: 36.6797676, lng: 138.3632554} GogoMaps.get_latlng('神奈川県横浜市港北区日吉') # => { lat: 35.5565107, lng: 139.6460026 } # Lat and lng to Address. GogoMaps.get_address('35.6506135,139.7539103') # => '日本, 東京都港区芝1丁目11−14' GogoMaps.get_address('37.358126,-122.050636', language: :en) # => '902 Rockefeller Drive, Sunnyvale, CA 94087, USA' ``` ## Contributing Please feel free to. Make you commiter if you wanna be.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gogo_maps-0.2.71826000 | README.md |