beyondthestory/rails_admin_map_field — pull request #8 by minakolta (2013-07-22 12:06:06+00:00)
Title: -Reordering the div position to be in the beginning of the file before t...

Using the map field raised an error in the first load of the partial "google is not defined".
i had to refresh the page to get the map shown as the js files from google are already loaded,
I had to modify the app / views / rails_admin / main / _form_map.html.haml to place the div element
```ruby
%div.ramf-map-container{:id => field.dom_name, :style => "width:300px;height:200px"}
= form.send :hidden_field, field.name, :id => field.latitude_dom_name
= form.send :hidden_field, field.longitude_field, :id => field.longitude_dom_name
```
to the beginning of the file before loading the js