Displaying 1 result from an estimated 1 matches for "code_post".
Did you mean:
code_pos
2007 Mar 04
0
Event listeners
...,"click",
function(){alert(''HOYOYO'');}) inserted during initialization.
I succeeded to do it in an rjs file (called from a form.. whenc
changing a location.. )
but I need to setup a first marker from my index action as I
initialize the map
I wrote
def index
@code_postal = "75018"
@map = GMap.new("map_div")
@map.control_init(:large_map => true,:map_type => true)
@adresses = []
@adresses = lookup_geocodes(@code_postal << ", france")
@adresses.each do |marker|
@latitude = marker[:latitude]...