Class: Kamelopard::TourControl
- Inherits:
-
TourPrimitive
- Object
- Object
- TourPrimitive
- Kamelopard::TourControl
- Defined in:
- lib/kamelopard/classes.rb
Overview
Corresponds to a KML gx:TourControl object
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from TourPrimitive
Methods inherited from Object
Constructor Details
This class inherits a constructor from Kamelopard::TourPrimitive
Instance Method Details
#to_kml(elem = nil) ⇒ Object
1387 1388 1389 1390 1391 1392 1393 1394 1395 |
# File 'lib/kamelopard/classes.rb', line 1387 def to_kml(elem = nil) k = XML::Node.new 'gx:TourControl' super(k) q = XML::Node.new 'gx:playMode' q << 'pause' k << q elem << k unless elem.nil? k end |