Kml-keyhole Markup Language
From https://developers.google.com/kml/documentation/kml_tut? Hl = ZH-CN
Kml is a file format used to display geographical data in the earth browser (such as Google Earth, Google Map, and Google mobile map. Kml uses a tag-based structure containing nested elements and attributes and complies with XML standards. All tags are case sensitive and displayed exactly as listed in the kml reference. This reference specifies which tags are optional. Within the specified element, the tag must be displayed in the order displayed in the reference. If you are not familiar with kml, please refer to this document and the attached sample files (samplesinearth and samplesinmaps) to learn about the basic structure and the most common labels of kml files. The first section describes the map items that can be created on the Google Earth user interface. These map items include landmarks, descriptions, ground overlays, paths, and polygon. The second part describes the map items that need to be written in a text editor. When you use the ". kml" or ". kmz" extension to save a text file, the earth browser will know how to display it. |
|
Tip:To view the kml of a map item in Google EarthCode", Right-click the map item in the 3D viewer of Google Earth and select" copy ". Paste the clipboard content to any text editor. Visual map items displayed on Google Earth are converted to kml text equivalent to those displayed on Google Earth. You must try this function.
All examples described here are in the kml samples file. Download this file first, and then view these examples in Google Earth.