public override void LoadDetails(XmlNode node, KmlRoot owner) { base.LoadDetails(node, owner); if (node["scale"] != null) { Scale = Convert.ToSingle(node["scale"].InnerText); } if (node["Icon"] != null) { Icon.LoadDetails(node["Icon"], owner); } if (node["hotSpot"] != null) { HotSpot = new KmlSpot(node,"hotSpot"); } }
public override void LoadDetails(XmlNode node, KmlRoot owner) { base.LoadDetails(node, owner); if (node["overlayXY"] != null) { OverlaySpot = new KmlSpot(node, "overlayXY"); } if (node["screenXY"] != null) { ScreenSpot = new KmlSpot(node,"screenXY"); } if (node["rotationXY"] != null) { RotationSpot = new KmlSpot(node, "rotationXY"); } if (node["size"] != null) { Size = new KmlSpot(node, "size"); } if (node["rotation"] != null) { Double.TryParse(node["rotation"].Value, out Rotation); } }