`
it_liuyong
  • 浏览: 98675 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

kml

 
阅读更多
public class ExtendedDataextends java.lang.Objectimplements java.lang.Cloneable
Adding untyped data/value pairs using the element (basic) Declaring new typed fields using the element and then instancing them using the element (advanced) Referring to XML elements defined in other namespaces by referencing the external namespace within the KML file (basic)

Allows you to add custom data to a KML file. This data can be (1) data that references an external XML schema, (2) untyped data/value pairs, or (3) typed data. A given KML Feature can contain a combination of these types of custom data.

For more information, see Adding Custom Data in "Topics in KML."

The ExtendedData element offers three techniques for adding custom data to a KML Feature (NetworkLink, Placemark, GroundOverlay, PhotoOverlay, ScreenOverlay, Document, Folder). These techniques are

These techniques can be combined within a single KML file or Feature for different pieces of data.

Syntax:
<ExtendedData>                         <Data name="string">    <displayName>...</displayName>    <!-- string -->    <value>...</value>                <!-- string -->  </Data>
   <SchemaData schemaUrl="anyURI">    <SimpleData name=""> ... </SimpleData>   <!-- string -->  </SchemaData>
   <namespace_prefix:other>...</namespace_prefix:other>
</ExtendedData>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics