Displaying 3 results from an estimated 3 matches for "hoyoyo".
Did you mean:
yoyo
2006 Nov 06
4
Event listeners
Hi!
Your plugin is really great! Thanks.
One more little question.
Is it possible to add event listeners to the maps via your plugin?
greetings
/till
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ym4r-user/attachments/20061106/6b1c6f4f/attachment.html
2007 Mar 04
0
Event listeners
...rful
Rails plugin.... thanks for sharing it w us !
I read in a post , in reply to this subject yjat :
Events are possible. Either through the @map.record_init "azeazeae" (for
arbitrary events like domlistener) or through the
@map.event_init(@map,:click,"function(){alert(''HOYOYO'');}").
The latter will give you: GEvent.addListener(map,"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...
2007 Jan 18
1
Clusterer generating javascript syntax error
...t; true,:map_type => true)
session[:gmap].center_zoom_init([38.134557,-95.537109],4)
markers = Array.new
geodata.each do |geo|
markers.push(GMarker.new([geo[''lon''], geo[''lat'']],
:info_window => "Hello", :title => "HOYOYO"))
end
clusterer = Clusterer.new(markers, :max_visible_markers => 2)
session[:gmap].overlay_init(clusterer)
Then in my view I''m loading in the requisite javascript libraries,
including clusterer and mapstraction, and then displaying the map with
something like:...