From a602152e094dd4cf1384df0e60f7470c9aa3a0d4 Mon Sep 17 00:00:00 2001 From: Prakash Dhimal Date: Tue, 10 Jan 2017 14:21:57 -0500 Subject: [PATCH] Allow setCoordiantes(Position coordinates) in KMLPoint KMLPoint#coordinates is Position, not Position.PositionList, and the setter method needs to be accessed from outside the package --- src/gov/nasa/worldwind/ogc/kml/KMLPoint.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gov/nasa/worldwind/ogc/kml/KMLPoint.java b/src/gov/nasa/worldwind/ogc/kml/KMLPoint.java index 090b7ef553..1531d73bce 100644 --- a/src/gov/nasa/worldwind/ogc/kml/KMLPoint.java +++ b/src/gov/nasa/worldwind/ogc/kml/KMLPoint.java @@ -62,6 +62,11 @@ public Position getCoordinates() { return this.coordinates; } + + public void setCoordinates(Position coordinates) + { + this.coordinates = coordinates; + } protected void setCoordinates(Position.PositionList coordsList) {