gmaps4rails
Populating Google Maps for Rails markers based on geolocation
I\'m trying to use the Google Maps for Rails gem to populate a map with markers based on a custom gmaps4rails_callback that uses the current location, but I can\'t seem to get the code to replace the[详细]
2023-03-08 04:34 分类:问答Adding an event listener to the markers using gmaps4rails
I am developing an application that uses gmaps4rails (https://github.com/apneadiving/Google-Maps-for-Rails). I want to add an event listener to the marker so that it creates a visualization next to th[详细]
2023-03-06 19:28 分类:问答Disable gmaps4rails 's feature of searching for "gmaps4rails.css"
I want the gmaps4rails gem to not search for \"gmaps4rails.css\". To do so, I have to somehow pass enable_css = false.[详细]
2023-03-06 15:37 分类:问答gmaps4rails dynamic load question
Trying to modify the screencast to be unobtrusive. Have an action (updatemap) that completes the following query:[详细]
2023-03-05 14:31 分类:问答Getting an empty space when trying to use gmaps4rails
So I followed the tutorial and screencast but can\'t seem to get this to work. I can see the div id\'s called map container and gmaps4rails_map where presumably, the map is supposed to be but nothing[详细]
2023-03-03 15:37 分类:问答Gmaps4rails make marker draggable and get its coordinates
Is it pos开发者_如何学Gosible to make a marker draggable and to get its coordinates in gmaps4rails, that the user could drag marker to choose the point he wants and get his chosen point coordinates?It[详细]
2023-03-03 04:51 分类:问答geocode my location and display with google-maps-for-rails gem
i want to geocode my location and display with google-maps-for-rails gem view: = gmaps({ \"map_options\" => { \"auto_adjust\" => true } })[详细]
2023-03-03 00:48 分类:问答Google-Maps-for-Rails - How do I set the size of a map image using gmap4rails?
Greetings. I\'ve had trouble with the Cartographer plugin when deploying to Heroku. I tried Google-Maps-for-Rails (gmaps4rails gem) and it looks very promising. But I\'ve not been able to figure out[详细]
2023-03-02 23:50 分类:问答Gmaps4rails : zoom not working?
I have the following view in my Rails code : 开发者_如何学Python <%= gmaps4rails(@map,{ \"processing\" => \'json\', \'auto_adjust\' => false, \'auto_zoom\' => false, \'zoom\' => 10 }) %>[详细]
2023-03-02 15:38 分类:问答Google Maps, Ruby on Rails, Zoom level with one marker
I am adding google maps support with apneadiving / Google-Maps-for-Rails (thanks awesome gem) I am finding one slight glitch, however, which very likely is my fault.[详细]
2023-03-01 14:14 分类:问答