Class: TourControl
- Inherits:
-
TourPrimitive
- Object
- KMLObject
- TourPrimitive
- TourControl
- Defined in:
- lib/kamelopard/classes.rb
Overview
Corresponds to a KML gx:TourControl object
Instance Attribute Summary
Attributes inherited from KMLObject
Instance Method Summary collapse
-
#initialize ⇒ TourControl
constructor
A new instance of TourControl.
- #to_kml(indent = 0) ⇒ Object
Constructor Details
#initialize ⇒ TourControl
Returns a new instance of TourControl.
1214 1215 1216 |
# File 'lib/kamelopard/classes.rb', line 1214 def initialize super end |
Instance Method Details
#to_kml(indent = 0) ⇒ Object
1218 1219 1220 1221 1222 |
# File 'lib/kamelopard/classes.rb', line 1218 def to_kml(indent = 0) k = "#{ ' ' * indent }<gx:TourControl id=\"#{ @id }\">\n" k << "#{ ' ' * indent } <gx:playMode>pause</gx:playMode>\n" k << "#{ ' ' * indent }</gx:TourControl>\n" end |