com.esri.arcgis.globecore
Interface ILookAtKmlNode

All Superinterfaces:
Serializable
All Known Implementing Classes:
ILookAtKmlNodeProxy

public interface ILookAtKmlNode
extends Serializable

LookAt support for a KML Node.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 boolean isHasLookAtPoint()
          Can LookAt a KmlNode.
 void viewAtLookAtPoint(IGlobe pGlobe, IKmlLayer pKmlLayer)
          Kml Node description.
 

Method Detail

isHasLookAtPoint

boolean isHasLookAtPoint()
                         throws IOException,
                                AutomationException
Can LookAt a KmlNode.

Description

The property returns a boolean value (true/false) indicating if the KML Node has a LookAtPoint defined in the KML file.

The LookAtPoint is specified with a "<LookAt>" tag in the KML file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pHasLookAt
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

viewAtLookAtPoint

void viewAtLookAtPoint(IGlobe pGlobe,
                       IKmlLayer pKmlLayer)
                       throws IOException,
                              AutomationException
Kml Node description.

Description

This method takes in as parameters a variable of type IGlobe and a variable of type IKmlLayer that is the KML layer that contains the node.

If the Node has a LookAtPoint defined then calling this method will zoom the view to the LookAtPoint.

If a Node does not have a LookAtPoint defined then calling this method will zoom to the extent of the Node and its children's geometries. If no geometry exists then calling this method on the Node will zoom the view to full extent of its parent KML layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pGlobe - A reference to a com.esri.arcgis.globecore.IGlobe (in)
pKmlLayer - A reference to a com.esri.arcgis.globecore.IKmlLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.