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