Sha256: c5188d9469e5df34ec43e1f253808b14552901e372e30ad442f168343511d5e7
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
class User < ActiveRecord::Base acts_as_gmappable def gmaps4rails_address sec_address end # def gmaps4rails_marker_picture # { # "picture" => "http://www.blankdots.com/img/github-32x32.png", # "width" => "32", # "height" => "32", # "marker_anchor" => [10,20] # } # end # # def gmaps4rails_title # "Sweet Title" # end # # def gmaps4rails_sidebar # "<b>#{name}</b>" # end # # def gmaps4rails_infowindow # "je suis l'infowindow de #{name}" # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.9.1 | test/dummy/app/models/user.rb |
gmaps4rails-0.9.0 | test/dummy/app/models/user.rb |