summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2016-08-09 10:54:56 -0400
committerTobrun <tobrun.van.nuland@gmail.com>2016-08-09 20:48:00 -0400
commit532c659b22c73eac04c7d643aff6ac5f1cc9f55a (patch)
tree10727eaaab5bd41188580a227c6300936c250ebf /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java
parent78387e9167f1072265d6e06b4a4a423dfe405c4a (diff)
downloadqtlocation-mapboxgl-532c659b22c73eac04c7d643aff6ac5f1cc9f55a.tar.gz
[android] javadoc cleanup part 2
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java
index 8e0ec8227f..b645020c21 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/sources/TileSet.java
@@ -54,6 +54,8 @@ public class TileSet {
* contain any legal character. Implementations SHOULD NOT interpret the
* name as HTML.
* "name": "compositing",
+ *
+ * @param name the name to be set
*/
public void setName(String name) {
this.name = name;
@@ -69,6 +71,8 @@ public class TileSet {
* Implementations SHOULD NOT
* interpret the description as HTML.
* "description": "A simple, light grey world."
+ *
+ * @param description the description to set
*/
public void setDescription(String description) {
this.description = description;
@@ -92,6 +96,8 @@ public class TileSet {
* as HTML or literal text. For security reasons, make absolutely sure that
* this field can't be abused as a vector for XSS or beacon tracking.
* "attribution": "<a href='http:openstreetmap.org'>OSM contributors</a>",
+ *
+ * @param attribution the attribution to set
*/
public void setAttribution(String attribution) {
this.attribution = attribution;
@@ -107,6 +113,8 @@ public class TileSet {
* See https:github.com/mapbox/utfgrid-spec/tree/master/1.2
* for the interactivity specification.
* "template": "{{#__teaser__}}{{NAME}}{{/__teaser__}}"
+ *
+ * @param template the template to set
*/
public void setTemplate(String template) {
this.template = template;
@@ -122,6 +130,8 @@ public class TileSet {
* For security reasons, make absolutely sure that this field can't be
* abused as a vector for XSS or beacon tracking.
* "legend": "Dangerous zones are red, safe zones are green"
+ *
+ * @param legend the legend to set
*/
public void setLegend(String legend) {
this.legend = legend;
@@ -136,6 +146,8 @@ public class TileSet {
* direction of the tile coordinates.
* The global-mercator (aka Spherical Mercator) profile is assumed.
* "scheme": "xyz"
+ *
+ * @param scheme the scheme to set
*/
public void setScheme(String scheme) {
this.scheme = scheme;
@@ -160,6 +172,8 @@ public class TileSet {
* <p>
* Example: "http:localhost:8888/admin/1.0.0/broadband/{z}/{x}/{y}.grid.json"
* </p>
+ *
+ * @param grids the grids to set
*/
public void setGrids(String... grids) {
this.grids = grids;
@@ -180,6 +194,8 @@ public class TileSet {
* <p>
* "http:localhost:8888/admin/data.geojson"
* </p>
+ *
+ * @param data the data array to set
*/
public void setData(String... data) {
this.data = data;
@@ -191,6 +207,8 @@ public class TileSet {
/**
* 0. &gt;= 0, &lt; 22. An integer specifying the minimum zoom level.
+ *
+ * @param minZoom the minZoom level to set
*/
public void setMinZoom(float minZoom) {
this.minZoom = minZoom;
@@ -202,6 +220,8 @@ public class TileSet {
/**
* 0. &gt;= 0, &lt;= 22. An integer specifying the maximum zoom level.
+ *
+ * @param maxZoom the maxZoom level to set
*/
public void setMaxZoom(float maxZoom) {
this.maxZoom = maxZoom;
@@ -216,6 +236,8 @@ public class TileSet {
* covered by all zoom levels. The bounds are represented in WGS:84
* latitude and longitude values, in the order left, bottom, right, top.
* Values may be integers or floating point numbers.
+ *
+ * @param bounds the Float array to set
*/
public void setBounds(@Size(value = 4) Float... bounds) {
this.bounds = bounds;
@@ -233,6 +255,8 @@ public class TileSet {
* Implementations can use this value to set the default location. If the
* value is null, implementations may use their own algorithm for
* determining a default location.
+ *
+ * @param center the Float array to set
*/
public void setCenter(@Size(value = 2) Float... center) {
this.center = center;