search for: gicon

Displaying 10 results from an estimated 10 matches for "gicon".

Did you mean: icon
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:...
2007 Mar 08
1
map not displayed after Ajax.updater request
...r : 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 table o...
2007 Mar 09
0
(no subject)
...fined (no name)()22 (line 169) (no name)()ym4r-gm.js (line 67) [Break on this error] map.addOverlay(new GMarker(new GLatLng (47.7377071331,-2.9257965088),{title : "aa... here is the generated script... <script type="text/javascript"> var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/ gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); var icon_reference = addOptionsToIcon(new GIcon(),{image : "/images/ gm...
2007 Mar 09
0
Clusterer
...r.user_lng], :title => @user.pseudo) @map.center_zoom_init([@user.user_lat, @user.user_lng],zl) @map.overlay_init(@marker_myself) here is the generated script (with the line numbers) <script type="text/javascript"> 161 var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/ gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); 162 var icon_reference = addOptionsToIcon(new GIcon(),{image : "/ image...
2006 Nov 04
6
image_tag keeping add ???? after the url it generates
hi, all, I have a problem with image_tag, the url it generates keeps adding ???? at the tail. e.g. src="/images/gicon.jpg?1153577588??????????" src="/images/gicon.jpg?1153577588?????????????????" I''ve checked the source code of image_tag, and couldn''t find any solution. The ???? is appended to the "source" parameter before it goes to the real image_tag code. def i...
2006 Jan 07
4
GIS Image coordinates / markers?
Hey everyone, Is there Rails support for something like Google Maps, but using my own images/maps? Basically, I''d like to have my own maps/images, be able to drop markers on them, center on certain attributes etc. - Nic
2012 Mar 10
6
Cartographer shows correct info box BUT over wrong marker
Hi guys (and gals), The code formatting is so nice on SO.com, so I thought I''d just share my post in hopes that someone from the group can help. http://stackoverflow.com/questions/9643786/cartographer-shows-correct-info-box-but-over-wrong-marker Feel free to answer back via email if you don''t have an SO account. Thanks! Abram -- You received this message because you are
2007 Mar 10
1
clusterer - click infowindow
Clicking on the icon of a clusterer opens an infowindow with a list of markers , ech one has an icon and a description... Is it possible to click on the marker icon (how to change its image ?) to zoom directly to that marker ? or should I write a link in the description yhanks for your help Note :additional question : what is the origin of the error message : '' too many
2008 Mar 04
0
question about updating the map
...div, but these maps and markers are drawn with the controller. Does this make sense? the marker i use is a circle drawn with RMagick That is the main thing i want to update, here is what draws the markers text = "<strong>some text for the marker balloons</strong>" icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r,r), :info_window_anchor => GPoint.new(r,r)) marker = GMarker.new([site.map_stat.lat.to_f , site.map_stat.long.to_f],...
2008 Mar 14
0
problem with rjs and marker group
....radius.to_f * zoomhash[@zoom.to_i].to_f).to_i # title tooltip for the image title = "%s %s => %s" % [@group.name, site.site_name, (KeyWord.stat_description(site.status_sensor.last_value)[0])] # create the icon image ( the pivot circle ) icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r,r), :info_window_anchor => GPoint.new(r,r)) # place the marker on the map marker = GMarker.new([site.map_stat.lat.to_f...