generatePerseveranceRoverBalloon static method

String generatePerseveranceRoverBalloon()

Generates a KML balloon for the Perseverance Rover.

The balloon contains an image and a description of the Perseverance Rover.

Returns a string containing the KML balloon.

Implementation

static String generatePerseveranceRoverBalloon() {
  return KMLMakers.screenOverlayBalloon(
      '''<div style="width: 480px; color: white; padding-left: 10px; padding-right: 10px;">
    <center>
      <div>
        <img width="100%" height="auto" src="$roverImageUrl">
      </div>
      <h1 style="color:white; font-size: 28px;">Perseverance Rover</h1>
      <p style="color:white; font-size: 18px;">$roverIntroText</p>
      <br>
      <p style="color:white; font-size: 15px;">Space Visualizations | Liquid Galaxy | GSoC 2024</p>
    </center>
    </div>''');
}