Closed psahni closed 10 years ago
I have also added this question on stackoverflow http://stackoverflow.com/questions/13539939/current-location-is-not-getting-marked-using-gmap4rails-gem
I figured out how to do that, but it's a bit tricky. My problem is that I think it's refreshing too often.
http://stackoverflow.com/questions/13663311/how-often-does-browser-geolocation-callback-fire
Hi apnediving
I have wrote following in my view file:
<%= gmaps( {:map_options => { :disableDefaultUI => true, :auto_adjust => true, :container_id => "google_map", :center_on_user => true, :detect_location => true}}) %>
It is detecting the current location, but it is not marking it.
I have searched in your issues and read your wiki
Can not get it through.
Thanks in advance