Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 9286925

Browse files
committed
fix javadoc
1 parent 5ef6c6e commit 9286925

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2072
-464
lines changed

src/main/java/com/gwidgets/api/leaflet/Attribution.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020

2121
/**
2222
* The attribution control allows you to display attribution data in a small text box on a map. It is put on the map by default unless you set its attributionControl option to false, and it fetches attribution texts from layers with getAttribution method automatically.
23-
*
23+
*
2424
* @author <a href="mailto:zakaria.amine88@gmail.com">Zakaria Amine</a>
25+
* @version $Id: $Id
2526
*/
2627
@JsType(isNative = true)
2728
public class Attribution extends Control{
@@ -60,4 +61,4 @@ private Attribution() {
6061
@JsMethod
6162
public native L removeAttribution(String text);
6263

63-
}
64+
}

src/main/java/com/gwidgets/api/leaflet/Bounds.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020

2121
/**
2222
* Represents a rectangular area in pixel coordinates.
23-
*
23+
*
2424
* @author <a href="mailto:zakaria.amine88@gmail.com">Zakaria Amine</a>
25+
* @version $Id: $Id
2526
*/
2627
@JsType(isNative = true)
2728
public class Bounds {
@@ -60,8 +61,8 @@ private Bounds() {
6061
/**
6162
* Returns true if the rectangle contains the given point.
6263
*
63-
* @param the point
6464
* @return true/false
65+
* @param point a {@link com.gwidgets.api.leaflet.Point} object
6566
*/
6667
@JsMethod
6768
public native Boolean contains(Point point);
@@ -91,4 +92,4 @@ private Bounds() {
9192
@JsMethod
9293
public native Point getSize();
9394

94-
}
95+
}

src/main/java/com/gwidgets/api/leaflet/CRS.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
/**
2121
* Defines coordinate reference systems for projecting geographical points into pixel (screen) coordinates and back (and to coordinates in other units for WMS services).
22+
*
2223
* @author <a href="mailto:zakaria.amine88@gmail.com">Zakaria Amine</a>
24+
* @version $Id: $Id
2325
*/
2426
@JsType(isNative = true)
2527
public abstract class CRS {
@@ -111,8 +113,8 @@ public abstract class CRS {
111113
/**
112114
* Returns the distance between two geographical coordinates.
113115
*
114-
* @param latlng1
115-
* @param latlng2
116+
* @param latlng1 a {@link com.gwidgets.api.leaflet.LatLng} object
117+
* @param latlng2 a {@link com.gwidgets.api.leaflet.LatLng} object
116118
* @return the distance
117119
*/
118120
@JsMethod
@@ -121,10 +123,10 @@ public abstract class CRS {
121123
/**
122124
* Returns a LatLng where lat and lng has been wrapped according to the CRS's wrapLat and wrapLng properties, if they are outside the CRS's bounds.
123125
*
124-
* @param latlng
126+
* @param latlng a {@link com.gwidgets.api.leaflet.LatLng} object
125127
* @return the LatLng
126128
*/
127129
@JsMethod
128130
public native double wrapLatLng(LatLng latlng);
129131

130-
}
132+
}

src/main/java/com/gwidgets/api/leaflet/Canvas.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
/**
88
* Used to create Canvas-based tile layers where tiles get drawn on the browser side.
9-
*
10-
* @author <a href="mailto:zakaria.amine88@gmail.com">Zakaria Amine</a>
9+
*
10+
* @version $Id: $Id
1111
*/
1212
@JsType(isNative = true)
1313
public class Canvas extends Renderer {
@@ -17,4 +17,4 @@ private Canvas() {
1717
}
1818

1919

20-
}
20+
}

src/main/java/com/gwidgets/api/leaflet/Circle.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44

55
/**
66
* A class for drawing circle overlays on a map. Extends Path. Use addLayer method of the Map class to add it to the map.
7+
*
8+
* @author zakaria
9+
* @version $Id: $Id
710
*/
811
@JsType(isNative = true)
912
public class Circle extends CircleMarker {
1013

1114

1215

1316

17+
/**
18+
* <p>Constructor for Circle.</p>
19+
*/
1420
protected Circle() {
1521
super();
1622

@@ -20,4 +26,4 @@ protected Circle() {
2026

2127

2228

23-
}
29+
}

0 commit comments

Comments
 (0)