beyondthestory / rails_admin_map_field

A plugin for RailsAdmin to provide a Google Maps input for lat/long fields
40 stars 73 forks source link

Geocoding with Rails Admin Map Field #1

Open julescarbon opened 12 years ago

julescarbon commented 12 years ago

Greetings,

I have modified your map field plugin for Rails Admin to geocode a lat/lng pair on the fly based on address fields. I also fixed some things which weren't working for me in the Ruby module -- the longitude parameter was not being passed through to the template at all. It appeared to be a global issue, but it's working now on my end.

I admit, this does change the functionality compared to your version, so let me know how you'd like to proceed since I think really is useful, especially for applications with heavy maps integration (like the one I'm working on..).

I noticed your note on rebasing inconsequential commits on a previous fork, and have attempted to clean up my commits preemptively.

Best wishes and thanks for writing this, Jules Laplace