I implemented the above solution to no avail, but now I understand why this does not work. It may have been an update for the gem, but "url" is the correct key for the image URL, not the "image". Here is my code in the controller:
@devices_hash= Gmaps4rails.build_markers(@devices) do |device, marker| ... marker.picture({ :url => "http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=A|007FFF|000000", :width => 32, :height => 32 }) end
Hope this helps some people fight the same.
source share