Search notes:

Google Earth kml: No annoying directions in point-placemarks

Google Earth, by default, renders a <Point> with a Balloon with Direction links.
When using a <description> with a <BalloonStyle>, the annoying Direction link can be removed.
This is demonstrated with the following kml example which has two <Placemark> (<Point> respectively) tags. One uses the <styleUrl> tag to reference a <BalloonStyle> that explicitly doesn't have the Directions link. The other does not reference the <BalloonStyle>, thus, the Directions are implicitly added to the balloon-text.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>

  <name>NoAnnoyingDirections.kml</name>

  <Style id="BalloonWithoutDirections">
    <BalloonStyle>
      <bgColor>ffffaabb</bgColor>
      <text>$[description]</text>
    </BalloonStyle>
  </Style>

  <Placemark>
    <name>Bouschänzli</name>
    <description>This text in the Ballon does not have the annoying <i>Directions</i>.</description>
    <styleUrl>#BalloonWithoutDirections</styleUrl>
    <Point>
      <coordinates>8.5423849941568,47.36772044171522,0</coordinates>
      <gx:balloonVisibility>1</gx:balloonVisibility>
    </Point>
  </Placemark>

  <Placemark>
    <name>Bellevue</name>
    <description><![CDATA[This Description comes with the annoying <i>Directions</i>.]]></description>
    <Point>
      <coordinates>8.545130107295023,47.36714967272624,0</coordinates>
    </Point>
  </Placemark>

</Document>
</kml>
Github repository about-GoogleEarth, path: /kml/elements/BalloonStyle/NoAnnoyingDirections.kml
When rendered, the balloons look like:

See also

KML examples

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/tools/Go...', 1759612402, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/tools/Google-Earth/kml/elements/BalloonStyle/No-annoying-directions(82): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78