File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
src/main/java/mil/nga/sf/geojson Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public mil.nga.sf.Geometry getGeometry() {
8080 * @return the coordinates
8181 */
8282 public Position getCoordinates () {
83- return position ;
83+ return getPosition () ;
8484 }
8585
8686 /**
@@ -90,7 +90,29 @@ public Position getCoordinates() {
9090 * coordinates
9191 */
9292 public void setCoordinates (Position coordinates ) {
93- this .position = coordinates ;
93+ setPosition (coordinates );
94+ }
95+
96+ /**
97+ * Get the position
98+ *
99+ * @return position
100+ * @since 3.0.0
101+ */
102+ @ JsonIgnore
103+ public Position getPosition () {
104+ return position ;
105+ }
106+
107+ /**
108+ * Set the position
109+ *
110+ * @param position
111+ * position
112+ * @since 3.0.0
113+ */
114+ public void setPosition (Position position ) {
115+ this .position = position ;
94116 }
95117
96118 /**
You can’t perform that action at this time.
0 commit comments