top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How to add Google map for Rails Application?

+2 votes
47 views

I need an Idea of how to put a google map in my application, I have field and I want to fill it with address and I want a map in the next line showing the address that I entered in my field......

posted Jan 26, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+5 votes

I wanna display only google map without other web page elements, and add some buttons to control the map like zoom in and zoom out.

+7 votes

I am trying to get google-geo to work, but I am seeing errors.

#!/usr/bin/ruby

require 'Google-geo'

mykey = 'blahblahblah'
addy1 = 'xxxxxxxxxxxxx' # xx, yy

geo = Google::Geo.new mykey
res = geo.locate addy1
puts res.coordinates

...and the error:

/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- Google-geo (LoadError) from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from pdev.rb:6:in `'

Not sure why it can't load it as it's just installed. I can't get anything to work in irb either.

+1 vote

EXAMPLE
mail(:to => user.email, :subject => "Hello World!", :from => "abc@gmail.com")

+1 vote

I want to create 3 rails apps in which every app has a Google API.
1) Gmail API
2) Google+ API 3
3) Google calendar API

Please suggest how to begin with...

+2 votes

I am working on building an api client for the Rakuten Market-place. I have got some test requests for add delete update etc working and thought I should aim to structure it as a Gem and publish it so that others can use it/enhance it.

I haven't built a Gem before (worked mostly within the rails environment to date).

Have been reading and looking at other api client gems and am making progress on building something (still got a way to go to handle errors etc.)

To make the gem general purpose though, I am trying to figure out the best way to provide the mapping between models in a rails app and the api client objects (such as product, category, order etc).

I am aiming to make each client api object a class be (or should i call them models?)
Then I suspect I will use new to build an api instance from a rails instance, and find to return an api instance to a rails instance.

I can build in mapping for my own models to the api objects with no problem, but I can't see how I could generalize this so that other apps with similar models could use the gem.

I suspect there are approaches for doing this, but so far I haven't managed to come up with how to do it. If anyone has any wisdom on the matter I would be grateful.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...