Displaying 2 results from an estimated 2 matches for "icon_global_init".
2007 Oct 16
3
can''t define custom GIcon
Hi,
I am having trouble getting custom GIcons to display. Here is the code in
my controller:
@map = GMap.new("map_div")
@map.control_init(:large_map => true,:map_type => true)
@map.icon_global_init(GIcon.new(:image => "images/APBox-20.png
"),"ap_none")
infoString = "Friendly Name: "+result.friendly_name+
"<br/>MAC: "+result.mac.to_s+
"<br/><br/><a href=''/stats/table'...
2007 Mar 08
1
map not displayed after Ajax.updater request
...he standard helper : GMap.header
I built the map in my controller , I build either a standard table
or a map and display it in the corresponding partial
the map is built without any problem with the icons and markers
( @map is correct...)
@map = GMap.new("map_div")
...
@map.icon_global_init(GIcon.new(:image => "/images/gm_contact.png", ....
..
@map.overlay_global_init(GMarkerGroup.new(true, @markers[1]), "contact")
....
from a radio button, an Ajax.Updater request is sent to my
controller to require either table or map build and display...
....
....build t...