smiledongwook

KML linkInfo ex. name snippet

Discussion created by smiledongwook on Oct 6, 2011
Latest reply on Oct 12, 2011 by DSwingley-esristaff
Q. How to get "name" or "snippet" from KML file?
ex. ESRI ex. name should be WY.kml.

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/kmllayer.htm#featureInfos

<Object> linkInfo
A link info object with properties that describe the network link. The object has the following properties:

{
  "id": <Number>,
  "name": <String>,
  "description": <String>,
  "snippet": <String>,
  "visibility": <Number>
  "refreshMode": <String>,
  "refreshInterval": <Number>,
  "viewRefreshMode": <String>,
  "viewRefreshTime": <Number>,
  "viewBoundScale": <Number>,
  "viewFormat": <String>,
  "httpQuery": <String>
}

ESRI ex. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm?KMLLayer

Thanks,

Outcomes