Class: MotionPrime::MapElement

Inherits:
BaseElement show all
Defined in:
motion-prime/elements/map.rb

Instance Attribute Summary

Attributes inherited from BaseElement

#name, #options, #screen, #section, #styles, #view, #view_name

Instance Method Summary collapse

Methods inherited from BaseElement

#add_target, after_render, before_render, #bind_gesture, #compute_options!, #computed_options, #dealloc, factory, #hide, #initialize, #reload!, #render, #render!, #show, #update_with_options

Methods included from HasClassFactory

#camelize_factory, #class_factory, #low_camelize_factory

Methods included from HasStyleChainBuilder

#build_styles_chain

Methods included from HasNormalizer

#normalize_object, #normalize_options

Constructor Details

This class inherits a constructor from MotionPrime::BaseElement

Instance Method Details

#remove_watermarkObject



8
9
10
# File 'motion-prime/elements/map.rb', line 8

def remove_watermark
  self.view.subviews.last.removeFromSuperview
end

#view_classObject



4
5
6
# File 'motion-prime/elements/map.rb', line 4

def view_class
  "MKMapView"
end