Method: MapWKT::Map#options=
- Defined in:
- lib/mapwkt/gmap/map.rb
#options=(options) ⇒ Object
91 92 93 94 95 96 97 |
# File 'lib/mapwkt/gmap/map.rb', line 91 def () .symbolize_keys! self.center = [:center] || self.center self.id = [:id] || self.id self.map_type_id = [:map_type_id] || [:mapTypeId] || self.map_type_id self.zoom = [:zoom] || self.zoom || 10 end |