gmaps4rails is a Ruby on Rails 3 gem, which provides a clear interface with GoogleMaps, OpenLayers, Bing and Mapquest
0
votes
0answers
14 views
Unable to see address on Gmaps4Rails?
I am trying to integrate gmaps with my app. It is a simple profile management app in which if photo is not included then it must show the address (gmaps) in the photo space. But I am not able to see ...
0
votes
0answers
14 views
Google Maps JS Geocoder
How can I access the Google Maps API object in Javascript?
Sometimes I need to generate a map, so I use gmaps4rails. Other times (more commonly) I need to geocode an address, so I load the Google ...
0
votes
0answers
24 views
Gmaps4rails map doesn't load with zurb foundation initialised
I've spent many hours trying to solve this to no avail. Basically I'm integrating the gmaps4rails gem with a rails project, and it appears to be conflicting with zurb's foundation JS. In my ...
0
votes
0answers
25 views
gmaps4rails detect_location is not showing marker
I am working with gem "gmaps4rails" in rails 3.2.12, I had set the detect_location = "true" in map_options, but it is not showing any marker with user current location.
Here is code:
<%= ...
0
votes
0answers
11 views
Gmaps4rails no map showing up
I have been trying to get gmaps4rails to work for a while and I can't get the map to appear, all that shows is a div with a border. Here's the code I have -
Model:
geocoded_by :full_address
...
0
votes
1answer
13 views
set height and width of infowindow gmaps4rails in controller
class VenuesController < ApplicationController
def index
@search = Venue.search(params[:search])
@venues = @search.all(:order => "name ASC")
@json = @search.all.to_gmaps4rails do |venue, ...
-1
votes
0answers
19 views
Place adsense inside infowindow gmaps4rails [closed]
Is it possible to place adsense content inside an infowinow using gmaps4rails? I've tried using a partial in my infowindow partial but no luck.
1
vote
1answer
27 views
Markers icons cropped on zoom Google Maps for Rails (gmaps4rails)
I'm using gmaps4rails to create an application and I'm with one problem.
When I zoom (in or out) map the icons are cropped.
This is my method to show markers:
def gmaps4rails_marker_picture
{
...
0
votes
0answers
19 views
gmaps4rails not loading Google Map (except on refresh)
I'm using Jquery Mobile 1.0 and gmaps4rails to load a user location map. The map loads fine when accessed via direct url but when accessed from a link, it chokes up and nothing is displayed. If I ...
0
votes
1answer
28 views
How do you customize marker picture and infowindow in gmaps4rails via a partial?
class VenuesController < ApplicationController
def index
@search = Venue.search(params[:search])
@venues = @search.all(:order => "name ASC")
@json = @search.all.to_gmaps4rails do |venue, ...
1
vote
0answers
27 views
Gmaps is not defined for gmaps4rails on Heroku, works locally
I'm running into a "Gmaps is not defined" JS error on Heroku (maps load up okay locally). I know there are a lot of similar questions out there on this issue but I've tried all sorts of hacks from ...
0
votes
1answer
50 views
gmap4rails not displaying map unless jquery not called
I have a really weird problem using gmap4rails. I followed the setup on github exactly and I just get a blank box. I can see that there are calls being made to the map provider (in this case, Bing), ...
0
votes
0answers
15 views
Dynamic direction in gmaps4rails?
I have many markers on the map, and I need direction connect from first.marker to last.marker.
I use gmaps4rails.
Example: A (first.marker) -> B (next.marker) -> C (next.marker) -> D (last.marker)
-2
votes
0answers
37 views
How to edit latitude and longitude values in gmaps4rails gem in Rails?
I want the value of latitude and longitude to be edited and updated with gmaps4rails gem, when the marker is clicked.
I want a pop up form to be displayed with the latitude and longitude values and
...
0
votes
0answers
28 views
Search markers use gem gmaps4rails?
I have the location conroller
@map = Location.all.to_gmaps4rails do |location, marker|
marker.infowindow render_to_string(:partial => "/locations/infowindow", :locals => { :location => ...