File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
vaadin-maps-leaflet-flow/src/main/java/software/xdev/vaadin/maps/leaflet/flow/data Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ public double getLat()
9898
9999 public void setLat (final double lat )
100100 {
101- this .geometry .getCoordinates ().remove (0 );
102101 this .geometry .getCoordinates ().set (0 , lat );
103102 }
104103
@@ -109,7 +108,6 @@ public double getLon()
109108
110109 public void setLon (final double lon )
111110 {
112- this .geometry .getCoordinates ().remove (1 );
113111 this .geometry .getCoordinates ().set (1 , lon );
114112 }
115113
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ public class LMarkerGeometry
2626 private String type ;
2727 private List <Double > coordinates = new ArrayList <>();
2828
29- public LMarkerGeometry (final String type , final double lon , final double lat )
29+ public LMarkerGeometry (final String type , final double lat , final double lon )
3030 {
3131 this .type = type ;
32- this .coordinates .add (lon );
3332 this .coordinates .add (lat );
33+ this .coordinates .add (lon );
3434 }
3535
3636 public String getType ()
You can’t perform that action at this time.
0 commit comments