Questions tagged [gmaps4rails]

gmaps4rails is a Ruby on Rails 3 gem, which provides a clear interface with GoogleMaps, OpenLayers, Bing and Mapquest

Enables easy display of items (taken from a Rails 3 model) with Google Map, OpenLayers, Bing or Mapquest.

Geocoding + Directions included.

Provides much options:

  • markers customization
  • infowindows
  • auto-adjusted zoom
  • polylines
  • polygons
  • circles
  • rich markers
  • multi maps etc...

See wiki for full description and examples.

700 questions
0
votes
1 answer

ReplaceMarkers with gmaps4rails using javascript

I'm following this example here Dynamically load Google Maps Markers with gmaps4rails I'm trying to use a .js request instead of .json so I can render some other info within the same controller request. Using the .json method works great but once I…
Jeff Locke
  • 617
  • 1
  • 6
  • 17
0
votes
1 answer

Rails3: Gem Gmap4rails with mongoid doesn't show map

I followed the instruction on github to install everything. (Gmaps4Rails-github) The problem is that the map is blank, I only see the border of the map from the css. Model: class Recipe include Mongoid::Document include…
0
votes
1 answer

gmaps4rails disable scroll wheel

I'm using gmaps4rails like so: <%= gmaps("map_options" => { "scrollwheel" => false, "zoom" => 17, "auto_zoom" => false },"markers" => { "data" => event.to_gmaps4rails }) %> This is generating: