orbitLookAtLinear static method
Generates KML code for an orbiting LookAt element with linear motion.
latitude
is the latitude of the location.
longitude
is the longitude of the location.
zoom
is the zoom level.
tilt
is the tilt angle.
bearing
is the bearing angle.
Returns a string containing the KML code for the orbiting LookAt element.
Implementation
static String orbitLookAtLinear(double latitude, double longitude, double zoom, double tilt, double bearing) =>
'<gx:duration>60</gx:duration><gx:flyToMode>smooth</gx:flyToMode><LookAt><longitude>$longitude</longitude><latitude>$latitude</latitude><range>$zoom</range><tilt>$tilt</tilt><heading>$bearing</heading><gx:altitudeMode>relativeToGround</gx:altitudeMode></LookAt>';