KML Editor v1.5 (Preview Release) help  
Description Tab

With this powerful WYSIWYG (What You See Is What You Get) text editor, you can create compelling description balloons.

KML Editor also offers a simple text editor for the Snippet text which contains a subset of the toolbar shown above.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Note: At this time, some toolbar items may not be fully supported in Google Earth.
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Here are some of the highlights:

  Edit the source HTML text for full control of your balloon text.
Opens the extended images dialog.
Opens the Adobe Flash dialog.

The anchor element <a> contains an href attribute that specifies a URL.

If the href is a KML file and has a .kml or .kmz file extension, Google Earth loads that file directly when the user clicks it. If the URL ends with an extension not known to Google Earth (for example, .html), the URL is sent to the browser.

The href can be a fragment URL (that is, a URL with a # sign followed by a KML identifier). When the user clicks a link that includes a fragment URL, by default the browser flies to the Feature whose ID matches the fragment. If the Feature has a LookAt or Camera element, the Feature is viewed from the specified viewpoint.

The behavior can be further specified by appending one of the following three strings to the fragment URL:

  • ;flyto » fly to the Feature
  • ;balloon » open the Feature's balloon but do not fly to the Feature
  • ;balloonFlyto » open the Feature's balloon and fly to the Feature

For example, the following code indicates to open the file MyFirst.kml, fly to the Placemark whose ID is "Home," and open its balloon:
   

<a href="http://myServer.com/MyFirst.kml#Home;balloonFlyto">
      One of the Best Art Shows in the West</a>

The type attribute is used within the <a> element when the href does not end in .kml or .kmz, but the reference needs to be interpreted in the context of KML. Specify the following:

type="application/vnd.google-earth.kml+xml"

For example, the following URL uses the type attribute to notify Google Earth that it should attempt to load the file, even though the file extension is .aspx:

<a href="myserver.com/generated-kml.aspx#placemark1
type="application/vnd.google-earth.kml+xml">

 


Copyright © 2007-2008 NorthGates Systems. All rights reserved.