Displaying 1 result from an estimated 1 matches for "lookup_geocodes".
2007 Mar 04
0
Event listeners
...ation.. )
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]
@longitude = marker[:longitude]
@marker1 = GMarker.new([marker[:latitude],marker
[:longitude]], :draggable => "true", :title =>
"myTitlei", :in...