-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
2,072 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,9 @@ | |
|
||
/** | ||
* 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. | ||
* | ||
* | ||
* @author <a href="mailto:[email protected]">Zakaria Amine</a> | ||
* @version $Id: $Id | ||
*/ | ||
@JsType(isNative = true) | ||
public class Attribution extends Control{ | ||
|
@@ -60,4 +61,4 @@ private Attribution() { | |
@JsMethod | ||
public native L removeAttribution(String text); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,9 @@ | |
|
||
/** | ||
* Represents a rectangular area in pixel coordinates. | ||
* | ||
* | ||
* @author <a href="mailto:[email protected]">Zakaria Amine</a> | ||
* @version $Id: $Id | ||
*/ | ||
@JsType(isNative = true) | ||
public class Bounds { | ||
|
@@ -60,8 +61,8 @@ private Bounds() { | |
/** | ||
* Returns true if the rectangle contains the given point. | ||
* | ||
* @param the point | ||
* @return true/false | ||
* @param point a {@link com.gwidgets.api.leaflet.Point} object | ||
*/ | ||
@JsMethod | ||
public native Boolean contains(Point point); | ||
|
@@ -91,4 +92,4 @@ private Bounds() { | |
@JsMethod | ||
public native Point getSize(); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ | |
|
||
/** | ||
* Defines coordinate reference systems for projecting geographical points into pixel (screen) coordinates and back (and to coordinates in other units for WMS services). | ||
* | ||
* @author <a href="mailto:[email protected]">Zakaria Amine</a> | ||
* @version $Id: $Id | ||
*/ | ||
@JsType(isNative = true) | ||
public abstract class CRS { | ||
|
@@ -111,8 +113,8 @@ public abstract class CRS { | |
/** | ||
* Returns the distance between two geographical coordinates. | ||
* | ||
* @param latlng1 | ||
* @param latlng2 | ||
* @param latlng1 a {@link com.gwidgets.api.leaflet.LatLng} object | ||
* @param latlng2 a {@link com.gwidgets.api.leaflet.LatLng} object | ||
* @return the distance | ||
*/ | ||
@JsMethod | ||
|
@@ -121,10 +123,10 @@ public abstract class CRS { | |
/** | ||
* 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. | ||
* | ||
* @param latlng | ||
* @param latlng a {@link com.gwidgets.api.leaflet.LatLng} object | ||
* @return the LatLng | ||
*/ | ||
@JsMethod | ||
public native double wrapLatLng(LatLng latlng); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ | |
|
||
/** | ||
* Used to create Canvas-based tile layers where tiles get drawn on the browser side. | ||
* | ||
* @author <a href="mailto:[email protected]">Zakaria Amine</a> | ||
* | ||
* @version $Id: $Id | ||
*/ | ||
@JsType(isNative = true) | ||
public class Canvas extends Renderer { | ||
|
@@ -17,4 +17,4 @@ private Canvas() { | |
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.