Sha256: acebf32d16f284ebca9c67070b524f70520aea2623fbf074745e05c32ddf222d

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 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"
  #   }
  # 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

1 entries across 1 versions & 1 rubygems

Version Path
gmaps4rails-0.8.8 test/dummy/app/models/user.rb