Schema kml21.xsd


schema location:  http://code.google.com/apis/kml/schema/kml21.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://earth.google.com/kml/2.1
 
Elements  Groups  Complex types  Simple types  Attr. groups 
BalloonStyle  geometryElements  BalloonStyleType  altitudeModeEnum  idAttributes 
coordinates  boundaryType  angle180 
Document  ChangeType  angle360 
Feature  ColorStyleType  angle90 
Folder  ContainerType  anglepos90 
Geometry  CreateType  color 
GroundOverlay  DeleteType  colorModeEnum 
Icon  DocumentType  CoordinatesType 
IconStyle  FeatureType  dateTimeType 
kml  FolderType  itemIconStateEnum 
LabelStyle  GeometryType  itemIconStateType 
LatLonAltBox  GroundOverlayType  listItemTypeEnum 
LatLonBox  IconStyleIconType  refreshModeEnum 
LinearRing  IconStyleType  styleStateEnum 
LineString  IconType  unitsEnum 
LineStyle  ItemIconType  viewRefreshModeEnum 
Link  KmlType 
ListStyle  LabelStyleType 
Location  LatLonAltBoxType 
Lod  LatLonBoxType 
LookAt  LinearRingType 
Model  LineStringType 
MultiGeometry  LineStyleType 
NetworkLink  LinkType 
Object  ListStyleType 
Orientation  LocationType 
Placemark  LodType 
Point  LookAtType 
Polygon  MetadataType 
PolyStyle  ModelType 
Region  MultiGeometryType 
Scale  NetworkLinkControlType 
ScreenOverlay  NetworkLinkType 
Style  ObjectType 
StyleMap  OrientationType 
StyleSelector  OverlayType 
styleUrl  PlacemarkType 
TimePrimitive  PointType 
TimeSpan  PolygonType 
TimeStamp  PolyStyleType 
RegionType 
ReplaceType 
ScaleType 
ScreenOverlayType 
SnippetType 
StyleMapPairType 
StyleMapType 
StyleSelectorType 
StyleType 
TimePrimitiveType 
TimeSpanType 
TimeStampType 
UpdateType 
vec2Type 


element BalloonStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:BalloonStyleType
properties
content complex
substGrp kml:Object
children kml:color kml:bgColor kml:textColor kml:text
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="BalloonStyle" type="kml:BalloonStyleType" substitutionGroup="kml:Object"/>

element coordinates
diagram
namespace http://earth.google.com/kml/2.1
type kml:CoordinatesType
properties
content simple
used by
complexTypes LinearRingType LineStringType PointType
source <element name="coordinates" type="kml:CoordinatesType"/>

element Document
diagram
namespace http://earth.google.com/kml/2.1
type kml:DocumentType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Feature
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Document" type="kml:DocumentType" substitutionGroup="kml:Feature"/>

element Feature
diagram
namespace http://earth.google.com/kml/2.1
type kml:FeatureType
properties
content complex
abstract true
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata
used by
complexTypes ChangeType DeleteType DocumentType FolderType KmlType ReplaceType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Feature" type="kml:FeatureType" abstract="true"/>

element Folder
diagram
namespace http://earth.google.com/kml/2.1
type kml:FolderType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Feature
used by
complexType CreateType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Folder" type="kml:FolderType" substitutionGroup="kml:Feature"/>

element Geometry
diagram
namespace http://earth.google.com/kml/2.1
type kml:GeometryType
properties
content complex
abstract true
used by
complexTypes ChangeType MultiGeometryType PlacemarkType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Geometry" type="kml:GeometryType" abstract="true"/>

element GroundOverlay
diagram
namespace http://earth.google.com/kml/2.1
type kml:GroundOverlayType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:color kml:drawOrder kml:Icon kml:altitude kml:altitudeMode kml:LatLonBox
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="GroundOverlay" type="kml:GroundOverlayType" substitutionGroup="kml:Feature"/>

element Icon
diagram
namespace http://earth.google.com/kml/2.1
type kml:LinkType
properties
content complex
substGrp kml:Object
children kml:href kml:refreshMode kml:refreshInterval kml:viewRefreshMode kml:viewRefreshTime kml:viewBoundScale kml:viewFormat kml:httpQuery
used by
complexType OverlayType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Icon" type="kml:LinkType" substitutionGroup="kml:Object"/>

element IconStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:IconStyleType
properties
content complex
substGrp kml:Object
children kml:color kml:colorMode kml:scale kml:heading kml:Icon kml:hotSpot
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="IconStyle" type="kml:IconStyleType" substitutionGroup="kml:Object"/>

element kml
diagram
namespace http://earth.google.com/kml/2.1
type kml:KmlType
properties
content complex
children kml:NetworkLinkControl kml:Feature
source <element name="kml" type="kml:KmlType"/>

element LabelStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:LabelStyleType
properties
content complex
substGrp kml:Object
children kml:color kml:colorMode kml:scale
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LabelStyle" type="kml:LabelStyleType" substitutionGroup="kml:Object"/>

element LatLonAltBox
diagram
namespace http://earth.google.com/kml/2.1
type kml:LatLonAltBoxType
properties
content complex
children kml:north kml:south kml:east kml:west kml:rotation kml:minAltitude kml:maxAltitude kml:altitudeMode
used by
complexType RegionType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LatLonAltBox" type="kml:LatLonAltBoxType"/>

element LatLonBox
diagram
namespace http://earth.google.com/kml/2.1
type kml:LatLonBoxType
properties
content complex
substGrp kml:Object
children kml:north kml:south kml:east kml:west kml:rotation
used by
complexType GroundOverlayType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LatLonBox" type="kml:LatLonBoxType" substitutionGroup="kml:Object"/>

element LinearRing
diagram
namespace http://earth.google.com/kml/2.1
type kml:LinearRingType
properties
content complex
substGrp kml:Geometry
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LinearRing" type="kml:LinearRingType" substitutionGroup="kml:Geometry"/>

element LineString
diagram
namespace http://earth.google.com/kml/2.1
type kml:LineStringType
properties
content complex
substGrp kml:Geometry
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LineString" type="kml:LineStringType" substitutionGroup="kml:Geometry"/>

element LineStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:LineStyleType
properties
content complex
substGrp kml:Object
children kml:color kml:colorMode kml:width
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LineStyle" type="kml:LineStyleType" substitutionGroup="kml:Object"/>

element Link
diagram
namespace http://earth.google.com/kml/2.1
type kml:LinkType
properties
content complex
substGrp kml:Object
children kml:href kml:refreshMode kml:refreshInterval kml:viewRefreshMode kml:viewRefreshTime kml:viewBoundScale kml:viewFormat kml:httpQuery
used by
complexTypes ModelType NetworkLinkType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Link" type="kml:LinkType" substitutionGroup="kml:Object"/>

element ListStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:ListStyleType
properties
content complex
substGrp kml:Object
children kml:listItemType kml:bgColor kml:ItemIcon
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="ListStyle" type="kml:ListStyleType" substitutionGroup="kml:Object"/>

element Location
diagram
namespace http://earth.google.com/kml/2.1
type kml:LocationType
properties
content complex
substGrp kml:Object
children kml:longitude kml:latitude kml:altitude
used by
complexType ModelType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Location" type="kml:LocationType" substitutionGroup="kml:Object"/>

element Lod
diagram
namespace http://earth.google.com/kml/2.1
type kml:LodType
properties
content complex
substGrp kml:Object
children kml:minLodPixels kml:maxLodPixels kml:minFadeExtent kml:maxFadeExtent
used by
complexType RegionType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Lod" type="kml:LodType" substitutionGroup="kml:Object"/>

element LookAt
diagram
namespace http://earth.google.com/kml/2.1
type kml:LookAtType
properties
content complex
substGrp kml:Object
children kml:longitude kml:latitude kml:altitude kml:range kml:tilt kml:heading kml:altitudeMode
used by
complexType FeatureType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LookAt" type="kml:LookAtType" substitutionGroup="kml:Object"/>

element Model
diagram
namespace http://earth.google.com/kml/2.1
type kml:ModelType
properties
content complex
substGrp kml:Geometry
children kml:altitudeMode kml:Location kml:Orientation kml:Scale kml:Link
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Model" type="kml:ModelType" substitutionGroup="kml:Geometry"/>

element MultiGeometry
diagram
namespace http://earth.google.com/kml/2.1
type kml:MultiGeometryType
properties
content complex
substGrp kml:Geometry
children kml:Geometry
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="MultiGeometry" type="kml:MultiGeometryType" substitutionGroup="kml:Geometry"/>

element NetworkLink
diagram
namespace http://earth.google.com/kml/2.1
type kml:NetworkLinkType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:refreshVisibility kml:flyToView kml:Link kml:Url
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="NetworkLink" type="kml:NetworkLinkType" substitutionGroup="kml:Feature"/>

element Object
diagram
namespace http://earth.google.com/kml/2.1
type kml:ObjectType
properties
content complex
abstract true
used by
complexType ChangeType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Object" type="kml:ObjectType" abstract="true"/>

element Orientation
diagram
namespace http://earth.google.com/kml/2.1
type kml:OrientationType
properties
content complex
substGrp kml:Object
children kml:heading kml:tilt kml:roll
used by
complexType ModelType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Orientation" type="kml:OrientationType" substitutionGroup="kml:Object"/>

element Placemark
diagram
namespace http://earth.google.com/kml/2.1
type kml:PlacemarkType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Geometry
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Placemark" type="kml:PlacemarkType" substitutionGroup="kml:Feature"/>

element Point
diagram
namespace http://earth.google.com/kml/2.1
type kml:PointType
properties
content complex
substGrp kml:Geometry
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Point" type="kml:PointType" substitutionGroup="kml:Geometry"/>

element Polygon
diagram
namespace http://earth.google.com/kml/2.1
type kml:PolygonType
properties
content complex
substGrp kml:Geometry
children kml:extrude kml:tessellate kml:altitudeMode kml:outerBoundaryIs kml:innerBoundaryIs
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Polygon" type="kml:PolygonType" substitutionGroup="kml:Geometry"/>

element PolyStyle
diagram
namespace http://earth.google.com/kml/2.1
type kml:PolyStyleType
properties
content complex
substGrp kml:Object
children kml:color kml:colorMode kml:fill kml:outline
used by
complexType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="PolyStyle" type="kml:PolyStyleType" substitutionGroup="kml:Object"/>

element Region
diagram
namespace http://earth.google.com/kml/2.1
type kml:RegionType
properties
content complex
substGrp kml:Object
children kml:LatLonAltBox kml:Lod
used by
complexType FeatureType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Region" type="kml:RegionType" substitutionGroup="kml:Object"/>

element Scale
diagram
namespace http://earth.google.com/kml/2.1
type kml:ScaleType
properties
content complex
substGrp kml:Object
children kml:x kml:y kml:z
used by
complexType ModelType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Scale" type="kml:ScaleType" substitutionGroup="kml:Object"/>

element ScreenOverlay
diagram
namespace http://earth.google.com/kml/2.1
type kml:ScreenOverlayType
properties
content complex
substGrp kml:Feature
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:color kml:drawOrder kml:Icon kml:overlayXY kml:screenXY kml:rotationXY kml:size kml:rotation
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="ScreenOverlay" type="kml:ScreenOverlayType" substitutionGroup="kml:Feature"/>

element Style
diagram
namespace http://earth.google.com/kml/2.1
type kml:StyleType
properties
content complex
substGrp kml:StyleSelector
children kml:IconStyle kml:LabelStyle kml:LineStyle kml:PolyStyle kml:BalloonStyle kml:ListStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Style" type="kml:StyleType" substitutionGroup="kml:StyleSelector"/>

element StyleMap
diagram
namespace http://earth.google.com/kml/2.1
type kml:StyleMapType
properties
content complex
substGrp kml:StyleSelector
children kml:Pair
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="StyleMap" type="kml:StyleMapType" substitutionGroup="kml:StyleSelector"/>

element StyleSelector
diagram
namespace http://earth.google.com/kml/2.1
type kml:StyleSelectorType
properties
content complex
abstract true
used by
complexTypes ChangeType FeatureType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="StyleSelector" type="kml:StyleSelectorType" abstract="true"/>

element styleUrl
diagram
namespace http://earth.google.com/kml/2.1
type anyURI
properties
content simple
used by
complexTypes FeatureType StyleMapPairType
source <element name="styleUrl" type="anyURI"/>

element TimePrimitive
diagram
namespace http://earth.google.com/kml/2.1
type kml:TimePrimitiveType
properties
content complex
abstract true
used by
complexTypes ChangeType FeatureType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="TimePrimitive" type="kml:TimePrimitiveType" abstract="true"/>

element TimeSpan
diagram
namespace http://earth.google.com/kml/2.1
type kml:TimeSpanType
properties
content complex
substGrp kml:TimePrimitive
children kml:begin kml:end
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="TimeSpan" type="kml:TimeSpanType" substitutionGroup="kml:TimePrimitive"/>

element TimeStamp
diagram
namespace http://earth.google.com/kml/2.1
type kml:TimeStampType
properties
content complex
substGrp kml:TimePrimitive
children kml:when
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="TimeStamp" type="kml:TimeStampType" substitutionGroup="kml:TimePrimitive"/>

group geometryElements
diagram
namespace http://earth.google.com/kml/2.1
children kml:extrude kml:tessellate kml:altitudeMode
used by
complexTypes LinearRingType LineStringType PointType PolygonType
source <group name="geometryElements">
 
<sequence>
   
<element name="extrude" type="boolean" default="0" minOccurs="0"/>
   
<element name="tessellate" type="boolean" default="0" minOccurs="0"/>
   
<element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>
 
</sequence>
</group>

element geometryElements/extrude
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="extrude" type="boolean" default="0" minOccurs="0"/>

element geometryElements/tessellate
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="tessellate" type="boolean" default="0" minOccurs="0"/>

element geometryElements/altitudeMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:altitudeModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default clampToGround
facets
enumeration clampToGround
enumeration relativeToGround
enumeration absolute
source <element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>

complexType BalloonStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:color kml:bgColor kml:textColor kml:text
used by
element BalloonStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="BalloonStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<choice>
         
<annotation>
           
<documentation><![CDATA[color deprecated in 2.1]]></documentation>
         
</annotation>
         
<element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>
         
<element name="bgColor" type="kml:color" default="ffffffff" minOccurs="0"/>
       
</choice>
       
<element name="textColor" type="kml:color" default="ff000000" minOccurs="0"/>
       
<element name="text" type="string" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element BalloonStyleType/color
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ffffffff
facets
length 4
source <element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>

element BalloonStyleType/bgColor
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ffffffff
facets
length 4
source <element name="bgColor" type="kml:color" default="ffffffff" minOccurs="0"/>

element BalloonStyleType/textColor
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ff000000
facets
length 4
source <element name="textColor" type="kml:color" default="ff000000" minOccurs="0"/>

element BalloonStyleType/text
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="text" type="string" minOccurs="0"/>

complexType boundaryType
diagram
namespace http://earth.google.com/kml/2.1
properties
final #all
children kml:LinearRing
used by
elements PolygonType/innerBoundaryIs PolygonType/outerBoundaryIs
source <complexType name="boundaryType" final="#all">
 
<all>
   
<element name="LinearRing" type="kml:LinearRingType"/>
 
</all>
</complexType>

element boundaryType/LinearRing
diagram
namespace http://earth.google.com/kml/2.1
type kml:LinearRingType
properties
isRef 0
content complex
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LinearRing" type="kml:LinearRingType"/>

complexType ChangeType
diagram
namespace http://earth.google.com/kml/2.1
children kml:Object kml:Feature kml:Geometry kml:StyleSelector kml:TimePrimitive
used by
element UpdateType/Change
source <complexType name="ChangeType">
 
<choice maxOccurs="unbounded">
   
<annotation>
     
<documentation><![CDATA[

            Any element ultimately derived from Object.

          ]]
></documentation>
   
</annotation>
   
<element ref="kml:Object" minOccurs="0"/>
   
<element ref="kml:Feature" minOccurs="0"/>
   
<element ref="kml:Geometry" minOccurs="0"/>
   
<element ref="kml:StyleSelector" minOccurs="0"/>
   
<element ref="kml:TimePrimitive" minOccurs="0"/>
 
</choice>
</complexType>

complexType ColorStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
abstract true
children kml:color kml:colorMode
used by
complexTypes IconStyleType LabelStyleType LineStyleType PolyStyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ColorStyleType" abstract="true">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>
       
<element name="colorMode" type="kml:colorModeEnum" default="normal" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element ColorStyleType/color
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ffffffff
facets
length 4
source <element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>

element ColorStyleType/colorMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:colorModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default normal
facets
enumeration normal
enumeration random
source <element name="colorMode" type="kml:colorModeEnum" default="normal" minOccurs="0"/>

complexType ContainerType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:FeatureType
properties
base kml:FeatureType
abstract true
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata
used by
complexTypes DocumentType FolderType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ContainerType" abstract="true">
 
<complexContent>
   
<extension base="kml:FeatureType"/>
 
</complexContent>
</complexType>

complexType CreateType
diagram
namespace http://earth.google.com/kml/2.1
children kml:Folder
used by
element UpdateType/Create
source <complexType name="CreateType">
 
<sequence>
   
<element ref="kml:Folder"/>
 
</sequence>
</complexType>

complexType DeleteType
diagram
namespace http://earth.google.com/kml/2.1
children kml:Feature
used by
element UpdateType/Delete
source <complexType name="DeleteType">
 
<sequence>
   
<element ref="kml:Feature" minOccurs="0" maxOccurs="unbounded"/>
 
</sequence>
</complexType>

complexType DocumentType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ContainerType
properties
base kml:ContainerType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Feature
used by
element Document
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="DocumentType" final="#all">
 
<complexContent>
   
<extension base="kml:ContainerType">
     
<sequence>
       
<element ref="kml:Feature" minOccurs="0" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType FeatureType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
abstract true
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata
used by
element Feature
complexTypes ContainerType NetworkLinkType OverlayType PlacemarkType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="FeatureType" abstract="true">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="name" type="string" minOccurs="0"/>
       
<element name="visibility" type="boolean" default="1" minOccurs="0"/>
       
<element name="open" type="boolean" default="1" minOccurs="0"/>
       
<element name="address" type="string" minOccurs="0"/>
       
<element name="phoneNumber" type="string" minOccurs="0"/>
       
<element name="Snippet" type="kml:SnippetType" minOccurs="0"/>
       
<element name="description" type="string" minOccurs="0"/>
       
<element ref="kml:LookAt" minOccurs="0"/>
       
<element ref="kml:TimePrimitive" minOccurs="0"/>
       
<element ref="kml:styleUrl" minOccurs="0"/>
       
<element ref="kml:StyleSelector" minOccurs="0" maxOccurs="unbounded"/>
       
<element ref="kml:Region" minOccurs="0"/>
       
<element name="Metadata" type="kml:MetadataType" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element FeatureType/name
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="name" type="string" minOccurs="0"/>

element FeatureType/visibility
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="visibility" type="boolean" default="1" minOccurs="0"/>

element FeatureType/open
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="open" type="boolean" default="1" minOccurs="0"/>

element FeatureType/address
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="address" type="string" minOccurs="0"/>

element FeatureType/phoneNumber
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="phoneNumber" type="string" minOccurs="0"/>

element FeatureType/Snippet
diagram
namespace http://earth.google.com/kml/2.1
type kml:SnippetType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
maxLinesintoptional  2    
source <element name="Snippet" type="kml:SnippetType" minOccurs="0"/>

element FeatureType/description
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="description" type="string" minOccurs="0"/>

element FeatureType/Metadata
diagram
namespace http://earth.google.com/kml/2.1
type kml:MetadataType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
source <element name="Metadata" type="kml:MetadataType" minOccurs="0"/>

complexType FolderType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ContainerType
properties
base kml:ContainerType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Feature
used by
element Folder
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="FolderType" final="#all">
 
<complexContent>
   
<extension base="kml:ContainerType">
     
<sequence>
       
<element ref="kml:Feature" minOccurs="0" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType GeometryType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
abstract true
used by
element Geometry
complexTypes LinearRingType LineStringType ModelType MultiGeometryType PointType PolygonType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="GeometryType" abstract="true">
 
<complexContent>
   
<extension base="kml:ObjectType"/>
 
</complexContent>
</complexType>

complexType GroundOverlayType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:OverlayType
properties
base kml:OverlayType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:color kml:drawOrder kml:Icon kml:altitude kml:altitudeMode kml:LatLonBox
used by
element GroundOverlay
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="GroundOverlayType" final="#all">
 
<complexContent>
   
<extension base="kml:OverlayType">
     
<sequence>
       
<element name="altitude" type="double" default="0" minOccurs="0"/>
       
<element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>
       
<element ref="kml:LatLonBox" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element GroundOverlayType/altitude
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="altitude" type="double" default="0" minOccurs="0"/>

element GroundOverlayType/altitudeMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:altitudeModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default clampToGround
facets
enumeration clampToGround
enumeration relativeToGround
enumeration absolute
source <element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>

complexType IconStyleIconType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
children kml:href
used by
element IconStyleType/Icon
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="IconStyleIconType">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="href" type="anyURI"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element IconStyleIconType/href
diagram
namespace http://earth.google.com/kml/2.1
type anyURI
properties
isRef 0
content simple
source <element name="href" type="anyURI"/>

complexType IconStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ColorStyleType
properties
base kml:ColorStyleType
final #all
children kml:color kml:colorMode kml:scale kml:heading kml:Icon kml:hotSpot
used by
element IconStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="IconStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ColorStyleType">
     
<sequence>
       
<element name="scale" type="float" default="1" minOccurs="0"/>
       
<element name="heading" type="float" default="0" minOccurs="0"/>
       
<element name="Icon" type="kml:IconStyleIconType" minOccurs="0"/>
       
<element name="hotSpot" type="kml:vec2Type" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element IconStyleType/scale
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="scale" type="float" default="1" minOccurs="0"/>

element IconStyleType/heading
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="heading" type="float" default="0" minOccurs="0"/>

element IconStyleType/Icon
diagram
namespace http://earth.google.com/kml/2.1
type kml:IconStyleIconType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children kml:href
used by
complexType OverlayType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Icon" type="kml:IconStyleIconType" minOccurs="0"/>

element IconStyleType/hotSpot
diagram
namespace http://earth.google.com/kml/2.1
type kml:vec2Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
xdouble  1.0    
ydouble  1.0    
xunitskml:unitsEnumoptional  fraction    
yunitskml:unitsEnumoptional  fraction    
source <element name="hotSpot" type="kml:vec2Type" minOccurs="0"/>

complexType IconType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:LinkType
properties
base kml:LinkType
final #all
children kml:href kml:refreshMode kml:refreshInterval kml:viewRefreshMode kml:viewRefreshTime kml:viewBoundScale kml:viewFormat kml:httpQuery kml:x kml:y kml:w kml:h
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="IconType" final="#all">
 
<complexContent>
   
<extension base="kml:LinkType">
     
<sequence>
       
<element name="x" type="int"/>
       
<element name="y" type="int"/>
       
<element name="w" type="int"/>
       
<element name="h" type="int"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element IconType/x
diagram
namespace http://earth.google.com/kml/2.1
type int
properties
isRef 0
content simple
source <element name="x" type="int"/>

element IconType/y
diagram
namespace http://earth.google.com/kml/2.1
type int
properties
isRef 0
content simple
source <element name="y" type="int"/>

element IconType/w
diagram
namespace http://earth.google.com/kml/2.1
type int
properties
isRef 0
content simple
source <element name="w" type="int"/>

element IconType/h
diagram
namespace http://earth.google.com/kml/2.1
type int
properties
isRef 0
content simple
source <element name="h" type="int"/>

complexType ItemIconType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:state kml:href
used by
element ListStyleType/ItemIcon
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ItemIconType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="state" type="kml:itemIconStateType" minOccurs="0" maxOccurs="unbounded"/>
       
<element name="href" type="anyURI"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element ItemIconType/state
diagram
namespace http://earth.google.com/kml/2.1
type kml:itemIconStateType
properties
isRef 0
minOcc 0
maxOcc unbounded
content simple
source <element name="state" type="kml:itemIconStateType" minOccurs="0" maxOccurs="unbounded"/>

element ItemIconType/href
diagram
namespace http://earth.google.com/kml/2.1
type anyURI
properties
isRef 0
content simple
source <element name="href" type="anyURI"/>

complexType KmlType
diagram
namespace http://earth.google.com/kml/2.1
properties
final #all
children kml:NetworkLinkControl kml:Feature
used by
element kml
source <complexType name="KmlType" final="#all">
 
<all>
   
<element name="NetworkLinkControl" type="kml:NetworkLinkControlType" minOccurs="0"/>
   
<element ref="kml:Feature" minOccurs="0"/>
 
</all>
</complexType>

element KmlType/NetworkLinkControl
diagram
namespace http://earth.google.com/kml/2.1
type kml:NetworkLinkControlType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children kml:minRefreshPeriod kml:cookie kml:message kml:linkName kml:linkDescription kml:linkSnippet kml:expires kml:Update kml:LookAt
source <element name="NetworkLinkControl" type="kml:NetworkLinkControlType" minOccurs="0"/>

complexType LabelStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ColorStyleType
properties
base kml:ColorStyleType
final #all
children kml:color kml:colorMode kml:scale
used by
element LabelStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LabelStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ColorStyleType">
     
<sequence>
       
<element name="scale" type="float" default="1" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element LabelStyleType/scale
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="scale" type="float" default="1" minOccurs="0"/>

complexType LatLonAltBoxType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:LatLonBoxType
properties
base kml:LatLonBoxType
final #all
children kml:north kml:south kml:east kml:west kml:rotation kml:minAltitude kml:maxAltitude kml:altitudeMode
used by
element LatLonAltBox
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LatLonAltBoxType" final="#all">
 
<complexContent>
   
<extension base="kml:LatLonBoxType">
     
<sequence>
       
<element name="minAltitude" type="double" default="0" minOccurs="0"/>
       
<element name="maxAltitude" type="double" default="0" minOccurs="0"/>
       
<element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element LatLonAltBoxType/minAltitude
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="minAltitude" type="double" default="0" minOccurs="0"/>

element LatLonAltBoxType/maxAltitude
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="maxAltitude" type="double" default="0" minOccurs="0"/>

element LatLonAltBoxType/altitudeMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:altitudeModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default clampToGround
facets
enumeration clampToGround
enumeration relativeToGround
enumeration absolute
source <element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>

complexType LatLonBoxType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
children kml:north kml:south kml:east kml:west kml:rotation
used by
element LatLonBox
complexType LatLonAltBoxType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LatLonBoxType">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<annotation>
         
<documentation><![CDATA[Yes, north/south range to 180/-180]]></documentation>
       
</annotation>
       
<element name="north" type="kml:angle180" default="180.0" minOccurs="0"/>
       
<element name="south" type="kml:angle180" default="-180.0" minOccurs="0"/>
       
<element name="east" type="kml:angle180" default="180.0" minOccurs="0"/>
       
<element name="west" type="kml:angle180" default="-180.0" minOccurs="0"/>
       
<element name="rotation" type="kml:angle180" default="0" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element LatLonBoxType/north
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 180.0
facets
minInclusive -180
maxInclusive 180
source <element name="north" type="kml:angle180" default="180.0" minOccurs="0"/>

element LatLonBoxType/south
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default -180.0
facets
minInclusive -180
maxInclusive 180
source <element name="south" type="kml:angle180" default="-180.0" minOccurs="0"/>

element LatLonBoxType/east
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 180.0
facets
minInclusive -180
maxInclusive 180
source <element name="east" type="kml:angle180" default="180.0" minOccurs="0"/>

element LatLonBoxType/west
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default -180.0
facets
minInclusive -180
maxInclusive 180
source <element name="west" type="kml:angle180" default="-180.0" minOccurs="0"/>

element LatLonBoxType/rotation
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -180
maxInclusive 180
source <element name="rotation" type="kml:angle180" default="0" minOccurs="0"/>

complexType LinearRingType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
used by
elements boundaryType/LinearRing LinearRing
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LinearRingType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<group ref="kml:geometryElements"/>
       
<element ref="kml:coordinates"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType LineStringType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
used by
element LineString
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LineStringType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<group ref="kml:geometryElements"/>
       
<element ref="kml:coordinates"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType LineStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ColorStyleType
properties
base kml:ColorStyleType
final #all
children kml:color kml:colorMode kml:width
used by
element LineStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LineStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ColorStyleType">
     
<sequence>
       
<element name="width" type="float" default="1" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element LineStyleType/width
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="width" type="float" default="1" minOccurs="0"/>

complexType LinkType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
children kml:href kml:refreshMode kml:refreshInterval kml:viewRefreshMode kml:viewRefreshTime kml:viewBoundScale kml:viewFormat kml:httpQuery
used by
elements Icon NetworkLinkType/Url Link
complexType IconType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
annotation
documentation
<![CDATA[
       
        Not final="#all" to show how IconType extended LinkType in KML 2.0.
       
        ]]>
source <complexType name="LinkType">
 
<annotation>
   
<documentation><![CDATA[
       
        Not final
="#all" to show how IconType extended LinkType in KML 2.0.
       
        ]]
></documentation>
 
</annotation>
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="href" type="anyURI" minOccurs="0"/>
       
<element name="refreshMode" type="kml:refreshModeEnum" default="onChange" minOccurs="0"/>
       
<element name="refreshInterval" type="float" default="4" minOccurs="0"/>
       
<element name="viewRefreshMode" type="kml:viewRefreshModeEnum" default="never" minOccurs="0"/>
       
<element name="viewRefreshTime" type="float" default="4" minOccurs="0"/>
       
<element name="viewBoundScale" type="float" default="1" minOccurs="0"/>
       
<element name="viewFormat" type="string" minOccurs="0"/>
       
<element name="httpQuery" type="string" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element LinkType/href
diagram
namespace http://earth.google.com/kml/2.1
type anyURI
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="href" type="anyURI" minOccurs="0"/>

element LinkType/refreshMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:refreshModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default onChange
facets
enumeration onChange
enumeration onInterval
enumeration onExpire
source <element name="refreshMode" type="kml:refreshModeEnum" default="onChange" minOccurs="0"/>

element LinkType/refreshInterval
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 4
source <element name="refreshInterval" type="float" default="4" minOccurs="0"/>

element LinkType/viewRefreshMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:viewRefreshModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default never
facets
enumeration never
enumeration onRequest
enumeration onStop
enumeration onRegion
source <element name="viewRefreshMode" type="kml:viewRefreshModeEnum" default="never" minOccurs="0"/>

element LinkType/viewRefreshTime
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 4
source <element name="viewRefreshTime" type="float" default="4" minOccurs="0"/>

element LinkType/viewBoundScale
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="viewBoundScale" type="float" default="1" minOccurs="0"/>

element LinkType/viewFormat
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="viewFormat" type="string" minOccurs="0"/>

element LinkType/httpQuery
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="httpQuery" type="string" minOccurs="0"/>

complexType ListStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:listItemType kml:bgColor kml:ItemIcon
used by
element ListStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ListStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<sequence>
       
<element name="listItemType" type="kml:listItemTypeEnum" default="check" minOccurs="0"/>
       
<element name="bgColor" type="kml:color" default="ffffffff" minOccurs="0"/>
       
<element name="ItemIcon" type="kml:ItemIconType" minOccurs="0" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element ListStyleType/listItemType
diagram
namespace http://earth.google.com/kml/2.1
type kml:listItemTypeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default check
facets
enumeration radioFolder
enumeration check
enumeration checkHideChildren
enumeration checkOffOnly
source <element name="listItemType" type="kml:listItemTypeEnum" default="check" minOccurs="0"/>

element ListStyleType/bgColor
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ffffffff
facets
length 4
source <element name="bgColor" type="kml:color" default="ffffffff" minOccurs="0"/>

element ListStyleType/ItemIcon
diagram
namespace http://earth.google.com/kml/2.1
type kml:ItemIconType
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
children kml:state kml:href
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="ItemIcon" type="kml:ItemIconType" minOccurs="0" maxOccurs="unbounded"/>

complexType LocationType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:longitude kml:latitude kml:altitude
used by
element Location
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LocationType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element name="longitude" type="kml:angle180" default="0" minOccurs="0"/>
       
<element name="latitude" type="kml:angle90" default="0" minOccurs="0"/>
       
<element name="altitude" type="double" default="0" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

element LocationType/longitude
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -180
maxInclusive 180
source <element name="longitude" type="kml:angle180" default="0" minOccurs="0"/>

element LocationType/latitude
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle90
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -90
maxInclusive 90.0
source <element name="latitude" type="kml:angle90" default="0" minOccurs="0"/>

element LocationType/altitude
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="altitude" type="double" default="0" minOccurs="0"/>

complexType LodType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:minLodPixels kml:maxLodPixels kml:minFadeExtent kml:maxFadeExtent
used by
element Lod
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LodType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element name="minLodPixels" type="float" default="0" minOccurs="0"/>
       
<element name="maxLodPixels" type="float" default="-1" minOccurs="0"/>
       
<element name="minFadeExtent" type="float" default="0" minOccurs="0"/>
       
<element name="maxFadeExtent" type="float" default="0" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

element LodType/minLodPixels
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="minLodPixels" type="float" default="0" minOccurs="0"/>

element LodType/maxLodPixels
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default -1
source <element name="maxLodPixels" type="float" default="-1" minOccurs="0"/>

element LodType/minFadeExtent
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="minFadeExtent" type="float" default="0" minOccurs="0"/>

element LodType/maxFadeExtent
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="maxFadeExtent" type="float" default="0" minOccurs="0"/>

complexType LookAtType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:longitude kml:latitude kml:altitude kml:range kml:tilt kml:heading kml:altitudeMode
used by
elements NetworkLinkControlType/LookAt LookAt
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="LookAtType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element name="longitude" type="kml:angle180" default="0" minOccurs="0"/>
       
<element name="latitude" type="kml:angle90" default="0" minOccurs="0"/>
       
<element name="altitude" type="double" default="0" minOccurs="0"/>
       
<element name="range" type="double" minOccurs="0"/>
       
<element name="tilt" type="kml:anglepos90" default="0" minOccurs="0"/>
       
<element name="heading" type="kml:angle360" default="0" minOccurs="0"/>
       
<element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

element LookAtType/longitude
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle180
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -180
maxInclusive 180
source <element name="longitude" type="kml:angle180" default="0" minOccurs="0"/>

element LookAtType/latitude
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle90
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -90
maxInclusive 90.0
source <element name="latitude" type="kml:angle90" default="0" minOccurs="0"/>

element LookAtType/altitude
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="altitude" type="double" default="0" minOccurs="0"/>

element LookAtType/range
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="range" type="double" minOccurs="0"/>

element LookAtType/tilt
diagram
namespace http://earth.google.com/kml/2.1
type kml:anglepos90
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive 0.0
maxInclusive 90.0
source <element name="tilt" type="kml:anglepos90" default="0" minOccurs="0"/>

element LookAtType/heading
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle360
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
facets
minInclusive -360
maxInclusive 360
source <element name="heading" type="kml:angle360" default="0" minOccurs="0"/>

element LookAtType/altitudeMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:altitudeModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default clampToGround
facets
enumeration clampToGround
enumeration relativeToGround
enumeration absolute
source <element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>

complexType MetadataType
diagram
namespace http://earth.google.com/kml/2.1
used by
element FeatureType/Metadata
source <complexType name="MetadataType">
 
<sequence>
   
<any namespace="##any" processContents="lax"/>
 
</sequence>
</complexType>

complexType ModelType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:altitudeMode kml:Location kml:Orientation kml:Scale kml:Link
used by
element Model
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ModelType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>
       
<element ref="kml:Location" minOccurs="0"/>
       
<element ref="kml:Orientation" minOccurs="0"/>
       
<element ref="kml:Scale" minOccurs="0"/>
       
<element ref="kml:Link" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element ModelType/altitudeMode
diagram
namespace http://earth.google.com/kml/2.1
type kml:altitudeModeEnum
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default clampToGround
facets
enumeration clampToGround
enumeration relativeToGround
enumeration absolute
source <element name="altitudeMode" type="kml:altitudeModeEnum" default="clampToGround" minOccurs="0"/>

complexType MultiGeometryType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:Geometry
used by
element MultiGeometry
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="MultiGeometryType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<element ref="kml:Geometry" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType NetworkLinkControlType
diagram
namespace http://earth.google.com/kml/2.1
properties
final #all
children kml:minRefreshPeriod kml:cookie kml:message kml:linkName kml:linkDescription kml:linkSnippet kml:expires kml:Update kml:LookAt
used by
element KmlType/NetworkLinkControl
source <complexType name="NetworkLinkControlType" final="#all">
 
<all>
   
<element name="minRefreshPeriod" type="float" default="0" minOccurs="0"/>
   
<element name="cookie" type="string" minOccurs="0"/>
   
<element name="message" type="string" minOccurs="0"/>
   
<element name="linkName" type="string" minOccurs="0"/>
   
<element name="linkDescription" type="string" minOccurs="0"/>
   
<element name="linkSnippet" type="kml:SnippetType" minOccurs="0"/>
   
<element name="expires" type="kml:dateTimeType" minOccurs="0"/>
   
<element name="Update" type="kml:UpdateType" minOccurs="0"/>
   
<element name="LookAt" type="kml:LookAtType" minOccurs="0"/>
 
</all>
</complexType>

element NetworkLinkControlType/minRefreshPeriod
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="minRefreshPeriod" type="float" default="0" minOccurs="0"/>

element NetworkLinkControlType/cookie
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="cookie" type="string" minOccurs="0"/>

element NetworkLinkControlType/message
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="message" type="string" minOccurs="0"/>

element NetworkLinkControlType/linkName
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="linkName" type="string" minOccurs="0"/>

element NetworkLinkControlType/linkDescription
diagram
namespace http://earth.google.com/kml/2.1
type string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="linkDescription" type="string" minOccurs="0"/>

element NetworkLinkControlType/linkSnippet
diagram
namespace http://earth.google.com/kml/2.1
type kml:SnippetType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
maxLinesintoptional  2    
source <element name="linkSnippet" type="kml:SnippetType" minOccurs="0"/>

element NetworkLinkControlType/expires
diagram
namespace http://earth.google.com/kml/2.1
type kml:dateTimeType
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <element name="expires" type="kml:dateTimeType" minOccurs="0"/>

element NetworkLinkControlType/Update
diagram
namespace http://earth.google.com/kml/2.1
type kml:UpdateType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children kml:targetHref kml:Create kml:Delete kml:Change kml:Replace
source <element name="Update" type="kml:UpdateType" minOccurs="0"/>

element NetworkLinkControlType/LookAt
diagram
namespace http://earth.google.com/kml/2.1
type kml:LookAtType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children kml:longitude kml:latitude kml:altitude kml:range kml:tilt kml:heading kml:altitudeMode
used by
complexType FeatureType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="LookAt" type="kml:LookAtType" minOccurs="0"/>

complexType NetworkLinkType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:FeatureType
properties
base kml:FeatureType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:refreshVisibility kml:flyToView kml:Link kml:Url
used by
element NetworkLink
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="NetworkLinkType" final="#all">
 
<complexContent>
   
<extension base="kml:FeatureType">
     
<sequence>
       
<element name="refreshVisibility" type="boolean" default="0" minOccurs="0"/>
       
<element name="flyToView" type="boolean" default="0" minOccurs="0"/>
       
<choice minOccurs="0">
         
<annotation>
           
<documentation><![CDATA[
               
                Url deprecated in 2.1.
               
                ]]
></documentation>
         
</annotation>
         
<element ref="kml:Link"/>
         
<element name="Url" type="kml:LinkType"/>
       
</choice>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element NetworkLinkType/refreshVisibility
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="refreshVisibility" type="boolean" default="0" minOccurs="0"/>

element NetworkLinkType/flyToView
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="flyToView" type="boolean" default="0" minOccurs="0"/>

element NetworkLinkType/Url
diagram
namespace http://earth.google.com/kml/2.1
type kml:LinkType
properties
isRef 0
content complex
children kml:href kml:refreshMode kml:refreshInterval kml:viewRefreshMode kml:viewRefreshTime kml:viewBoundScale kml:viewFormat kml:httpQuery
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <element name="Url" type="kml:LinkType"/>

complexType ObjectType
diagram
namespace http://earth.google.com/kml/2.1
properties
abstract true
used by
element Object
complexTypes BalloonStyleType ColorStyleType FeatureType GeometryType IconStyleIconType ItemIconType LatLonBoxType LinkType ListStyleType LocationType LodType LookAtType OrientationType RegionType ScaleType StyleSelectorType TimePrimitiveType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ObjectType" abstract="true">
 
<attributeGroup ref="kml:idAttributes"/>
</complexType>

complexType OrientationType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:heading kml:tilt kml:roll
used by
element Orientation
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="OrientationType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element name="heading" type="kml:angle360" default="0.0" minOccurs="0"/>
       
<element name="tilt" type="kml:angle360" default="0.0" minOccurs="0"/>
       
<element name="roll" type="kml:angle360" default="0.0" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

element OrientationType/heading
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle360
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0.0
facets
minInclusive -360
maxInclusive 360
source <element name="heading" type="kml:angle360" default="0.0" minOccurs="0"/>

element OrientationType/tilt
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle360
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0.0
facets
minInclusive -360
maxInclusive 360
source <element name="tilt" type="kml:angle360" default="0.0" minOccurs="0"/>

element OrientationType/roll
diagram
namespace http://earth.google.com/kml/2.1
type kml:angle360
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0.0
facets
minInclusive -360
maxInclusive 360
source <element name="roll" type="kml:angle360" default="0.0" minOccurs="0"/>

complexType OverlayType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:FeatureType
properties
base kml:FeatureType
abstract true
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:color kml:drawOrder kml:Icon
used by
complexTypes GroundOverlayType ScreenOverlayType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="OverlayType" abstract="true">
 
<complexContent>
   
<extension base="kml:FeatureType">
     
<sequence>
       
<element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>
       
<element name="drawOrder" type="int" default="0" minOccurs="0"/>
       
<element ref="kml:Icon" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element OverlayType/color
diagram
namespace http://earth.google.com/kml/2.1
type kml:color
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default ffffffff
facets
length 4
source <element name="color" type="kml:color" default="ffffffff" minOccurs="0"/>

element OverlayType/drawOrder
diagram
namespace http://earth.google.com/kml/2.1
type int
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="drawOrder" type="int" default="0" minOccurs="0"/>

complexType PlacemarkType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:FeatureType
properties
base kml:FeatureType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:Geometry
used by
element Placemark
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="PlacemarkType" final="#all">
 
<complexContent>
   
<extension base="kml:FeatureType">
     
<sequence>
       
<element ref="kml:Geometry" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType PointType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:extrude kml:tessellate kml:altitudeMode kml:coordinates
used by
element Point
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="PointType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<group ref="kml:geometryElements"/>
       
<element ref="kml:coordinates"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

complexType PolygonType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:GeometryType
properties
base kml:GeometryType
final #all
children kml:extrude kml:tessellate kml:altitudeMode kml:outerBoundaryIs kml:innerBoundaryIs
used by
element Polygon
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="PolygonType" final="#all">
 
<complexContent>
   
<extension base="kml:GeometryType">
     
<sequence>
       
<group ref="kml:geometryElements"/>
       
<element name="outerBoundaryIs" type="kml:boundaryType" minOccurs="0"/>
       
<element name="innerBoundaryIs" type="kml:boundaryType" minOccurs="0" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element PolygonType/outerBoundaryIs
diagram
namespace http://earth.google.com/kml/2.1
type kml:boundaryType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children kml:LinearRing
source <element name="outerBoundaryIs" type="kml:boundaryType" minOccurs="0"/>

element PolygonType/innerBoundaryIs
diagram
namespace http://earth.google.com/kml/2.1
type kml:boundaryType
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
children kml:LinearRing
source <element name="innerBoundaryIs" type="kml:boundaryType" minOccurs="0" maxOccurs="unbounded"/>

complexType PolyStyleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ColorStyleType
properties
base kml:ColorStyleType
final #all
children kml:color kml:colorMode kml:fill kml:outline
used by
element PolyStyle
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="PolyStyleType" final="#all">
 
<complexContent>
   
<extension base="kml:ColorStyleType">
     
<sequence>
       
<element name="fill" type="boolean" default="1" minOccurs="0"/>
       
<element name="outline" type="boolean" default="1" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element PolyStyleType/fill
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="fill" type="boolean" default="1" minOccurs="0"/>

element PolyStyleType/outline
diagram
namespace http://earth.google.com/kml/2.1
type boolean
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1
source <element name="outline" type="boolean" default="1" minOccurs="0"/>

complexType RegionType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:LatLonAltBox kml:Lod
used by
element Region
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="RegionType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element ref="kml:LatLonAltBox"/>
       
<element ref="kml:Lod" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

complexType ReplaceType
diagram
namespace http://earth.google.com/kml/2.1
children kml:Feature
used by
element UpdateType/Replace
source <complexType name="ReplaceType">
 
<sequence>
   
<element ref="kml:Feature" minOccurs="0"/>
 
</sequence>
</complexType>

complexType ScaleType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
final #all
children kml:x kml:y kml:z
used by
element Scale
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ScaleType" final="#all">
 
<complexContent>
   
<extension base="kml:ObjectType">
     
<all>
       
<element name="x" type="double" default="1.0" minOccurs="0"/>
       
<element name="y" type="double" default="1.0" minOccurs="0"/>
       
<element name="z" type="double" default="1.0" minOccurs="0"/>
     
</all>
   
</extension>
 
</complexContent>
</complexType>

element ScaleType/x
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1.0
source <element name="x" type="double" default="1.0" minOccurs="0"/>

element ScaleType/y
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1.0
source <element name="y" type="double" default="1.0" minOccurs="0"/>

element ScaleType/z
diagram
namespace http://earth.google.com/kml/2.1
type double
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 1.0
source <element name="z" type="double" default="1.0" minOccurs="0"/>

complexType ScreenOverlayType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:OverlayType
properties
base kml:OverlayType
final #all
children kml:name kml:visibility kml:open kml:address kml:phoneNumber kml:Snippet kml:description kml:LookAt kml:TimePrimitive kml:styleUrl kml:StyleSelector kml:Region kml:Metadata kml:color kml:drawOrder kml:Icon kml:overlayXY kml:screenXY kml:rotationXY kml:size kml:rotation
used by
element ScreenOverlay
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="ScreenOverlayType" final="#all">
 
<complexContent>
   
<extension base="kml:OverlayType">
     
<sequence>
       
<element name="overlayXY" type="kml:vec2Type" minOccurs="0"/>
       
<element name="screenXY" type="kml:vec2Type" minOccurs="0"/>
       
<element name="rotationXY" type="kml:vec2Type" minOccurs="0"/>
       
<element name="size" type="kml:vec2Type" minOccurs="0"/>
       
<element name="rotation" type="float" default="0" minOccurs="0"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element ScreenOverlayType/overlayXY
diagram
namespace http://earth.google.com/kml/2.1
type kml:vec2Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
xdouble  1.0    
ydouble  1.0    
xunitskml:unitsEnumoptional  fraction    
yunitskml:unitsEnumoptional  fraction    
source <element name="overlayXY" type="kml:vec2Type" minOccurs="0"/>

element ScreenOverlayType/screenXY
diagram
namespace http://earth.google.com/kml/2.1
type kml:vec2Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
xdouble  1.0    
ydouble  1.0    
xunitskml:unitsEnumoptional  fraction    
yunitskml:unitsEnumoptional  fraction    
source <element name="screenXY" type="kml:vec2Type" minOccurs="0"/>

element ScreenOverlayType/rotationXY
diagram
namespace http://earth.google.com/kml/2.1
type kml:vec2Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
xdouble  1.0    
ydouble  1.0    
xunitskml:unitsEnumoptional  fraction    
yunitskml:unitsEnumoptional  fraction    
source <element name="rotationXY" type="kml:vec2Type" minOccurs="0"/>

element ScreenOverlayType/size
diagram
namespace http://earth.google.com/kml/2.1
type kml:vec2Type
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
xdouble  1.0    
ydouble  1.0    
xunitskml:unitsEnumoptional  fraction    
yunitskml:unitsEnumoptional  fraction    
source <element name="size" type="kml:vec2Type" minOccurs="0"/>

element ScreenOverlayType/rotation
diagram
namespace http://earth.google.com/kml/2.1
type float
properties
isRef 0
minOcc 0
maxOcc 1
content simple
default 0
source <element name="rotation" type="float" default="0" minOccurs="0"/>

complexType SnippetType
diagram
namespace http://earth.google.com/kml/2.1
type extension of string
properties
base string
final #all
used by
elements NetworkLinkControlType/linkSnippet FeatureType/Snippet
attributes
Name  Type  Use  Default  Fixed  annotation
maxLinesintoptional  2    
source <complexType name="SnippetType" final="#all">
 
<simpleContent>
   
<extension base="string">
     
<attribute name="maxLines" type="int" use="optional" default="2"/>
   
</extension>
 
</simpleContent>
</complexType>

attribute SnippetType/@maxLines
type int
properties
isRef 0
default 2
use optional
source <attribute name="maxLines" type="int" use="optional" default="2"/>

complexType StyleMapPairType
diagram
namespace http://earth.google.com/kml/2.1
properties
final #all
children kml:key kml:styleUrl
used by
element StyleMapType/Pair
source <complexType name="StyleMapPairType" final="#all">
 
<all>
   
<element name="key" type="kml:styleStateEnum"/>
   
<element ref="kml:styleUrl"/>
 
</all>
</complexType>

element StyleMapPairType/key
diagram
namespace http://earth.google.com/kml/2.1
type kml:styleStateEnum
properties
isRef 0
content simple
facets
enumeration normal
enumeration highlight
source <element name="key" type="kml:styleStateEnum"/>

complexType StyleMapType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:StyleSelectorType
properties
base kml:StyleSelectorType
final #all
children kml:Pair
used by
element StyleMap
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name="StyleMapType" final="#all">
 
<complexContent>
   
<extension base="kml:StyleSelectorType">
     
<sequence>
       
<element name="Pair" type="kml:StyleMapPairType" maxOccurs="unbounded"/>
     
</sequence>
   
</extension>
 
</complexContent>
</complexType>

element StyleMapType/Pair
diagram
namespace http://earth.google.com/kml/2.1
type kml:StyleMapPairType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children kml:key kml:styleUrl
source <element name="Pair" type="kml:StyleMapPairType" maxOccurs="unbounded"/>

complexType StyleSelectorType
diagram
namespace http://earth.google.com/kml/2.1
type extension of kml:ObjectType
properties
base kml:ObjectType
abstract true
used by
element StyleSelector
complexTypes StyleMapType StyleType
attributes
Name  Type  Use  Default  Fixed  annotation
idIDoptional      
targetIdNCNameoptional      
source <complexType name