tag property

String tag

Property that defines the look at tag according to its current properties.

Example

lookAt.tag => '''
  <LookAt>
    <longitude>-74</longitude>
    <latitude>30</latitude>
    <altitude>0</altitude>
    <range>1492.66</range>
    <tilt>45</tilt>
    <heading>0</heading>
    <gx:altitudeMode>relativeToGround</gx:altitudeMode>
  </LookAt>
'''

Implementation

String get tag => '''
    <LookAt>
      <longitude>$longitude</longitude>
      <latitude>$latitude</latitude>
      <altitude>$altitude</altitude>
      <range>$range</range>
      <tilt>$tilt</tilt>
      <heading>$heading</heading>
      <gx:altitudeMode>$altitudeMode</gx:altitudeMode>
    </LookAt>
  ''';