Sha256: b58c48bf0fc0cc58001f19cfe687994c6454fbb1844d30a52f68ae1ed8527c4e
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
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", # "shadow_picture" => "https://secure.gravatar.com/avatar/808bec1c640143bd7091888d9edfb2f2.png", # "shadow_height" => 40, # "shadow_width" => 50, # "shadow_anchor" => [10, -30] # } # end # # def gmaps4rails_title # "Sweet Title" # end # # def gmaps4rails_sidebar # "<b>#{name}</b>" # end # # def gmaps4rails_infowindow # "<div style='width:500px; background-color:#b0c4de;'><b>je suis l'infowindow de <h1>#{name}</h1></b> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>" # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.10.0 | test/dummy/app/models/user.rb |
gmaps4rails-0.10.0.pre1 | test/dummy/app/models/user.rb |