From 4710d68d230a83153ff70aa656ac7b3f190db3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Prie=C3=9F?= Date: Wed, 9 Dec 2015 08:37:03 +0100 Subject: [PATCH] Fixed altitude constructor --- src/main/java/org/geojson/geometry/Point.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/geojson/geometry/Point.java b/src/main/java/org/geojson/geometry/Point.java index a5cde40..bc854f9 100644 --- a/src/main/java/org/geojson/geometry/Point.java +++ b/src/main/java/org/geojson/geometry/Point.java @@ -24,7 +24,7 @@ public Point(double longtitude, double latitude, double altitude) { coordinates = new double[3]; coordinates[0] = longtitude; coordinates[1] = latitude; - coordinates[2] = latitude; + coordinates[2] = altitude; }