[android] - fix javadoc utf8 encoding issues, add missing package-info.java items
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android Attribution API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.attribution;
|
||||
@@ -1651,13 +1651,13 @@ public final class MapboxMap {
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Sets the distance from the edges of the map view’s frame to the edges of the map
|
||||
* view’s logical viewport.
|
||||
* Sets the distance from the edges of the map view's frame to the edges of the map
|
||||
* view's logical viewport.
|
||||
* </p>
|
||||
* <p>
|
||||
* When the value of this property is equal to {0,0,0,0}, viewport
|
||||
* properties such as `centerCoordinate` assume a viewport that matches the map
|
||||
* view’s frame. Otherwise, those properties are inset, excluding part of the
|
||||
* properties such as 'centerCoordinate' assume a viewport that matches the map
|
||||
* view's frame. Otherwise, those properties are inset, excluding part of the
|
||||
* frame from the viewport. For instance, if the only the top edge is inset, the
|
||||
* map center is effectively shifted downward.
|
||||
* </p>
|
||||
|
||||
@@ -734,11 +734,11 @@ public class MapboxMapOptions implements Parcelable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the font family for generating glyphs locally for ideographs in the ‘CJK Unified Ideographs’
|
||||
* and ‘Hangul Syllables’ ranges.
|
||||
* Set the font family for generating glyphs locally for ideographs in the 'CJK Unified Ideographs'
|
||||
* and 'Hangul Syllables' ranges.
|
||||
*
|
||||
* The font family argument is passed to {@link android.graphics.Typeface#create(String, int)}.
|
||||
* Default system fonts are defined in '/system/etc/fonts.xml'
|
||||
* Default system fonts are defined in '/system/etc/fonts.xml'
|
||||
*
|
||||
* @param fontFamily font family for local ideograph generation.
|
||||
* @return This
|
||||
@@ -1100,7 +1100,7 @@ public class MapboxMapOptions implements Parcelable {
|
||||
|
||||
/**
|
||||
* Returns the font-family for locally overriding generation of glyphs in the
|
||||
* ‘CJK Unified Ideographs’ and ‘Hangul Syllables’ ranges.
|
||||
* 'CJK Unified Ideographs' and 'Hangul Syllables' ranges.
|
||||
*
|
||||
* @return Local ideograph font family name.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android EGL API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.maps.renderer.egl;
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android GLSurfaceView API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.maps.renderer.glsurfaceview;
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android Renderer API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.maps.renderer;
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android TextureView API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.maps.renderer.textureview;
|
||||
@@ -10,12 +10,12 @@ import com.mapbox.mapboxsdk.geometry.LatLngBounds;
|
||||
* An offline region defined by a style URL, geographic bounding box, zoom range, and
|
||||
* device pixel ratio.
|
||||
* <p>
|
||||
* Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom.
|
||||
* Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom.
|
||||
* <p>
|
||||
* maxZoom may be ∞, in which case for each tile source, the region will include
|
||||
* maxZoom may be ∞, in which case for each tile source, the region will include
|
||||
* tiles from minZoom up to the maximum zoom level provided by that source.
|
||||
* <p>
|
||||
* pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.
|
||||
* pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.
|
||||
*/
|
||||
public class OfflineTilePyramidRegionDefinition implements OfflineRegionDefinition, Parcelable {
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android Snapshotter API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.snapshotter;
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android Expression API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.style.expressions;
|
||||
@@ -11,7 +11,7 @@ import com.mapbox.mapboxsdk.style.functions.stops.Stops;
|
||||
/**
|
||||
* Camera function. Functions that take camera properties as input (zoom for now)
|
||||
* <p>
|
||||
* Zoom functions allow the appearance of a map feature to change with map’s zoom level.
|
||||
* Zoom functions allow the appearance of a map feature to change with map's zoom level.
|
||||
* Zoom functions can be used to create the illusion of depth and control data density.
|
||||
* Each stop is an array with two elements: the first is a zoom level and the second is
|
||||
* a function output value.
|
||||
|
||||
@@ -32,7 +32,7 @@ public class Function<I, O> {
|
||||
/**
|
||||
* Create an exponential {@link CameraFunction}
|
||||
* <p>
|
||||
* Zoom functions allow the appearance of a map feature to change with map’s zoom.
|
||||
* Zoom functions allow the appearance of a map feature to change with map's zoom.
|
||||
* Zoom functions can be used to create the illusion of depth and control data density.
|
||||
* Each stop is an array with two elements, the first is a zoom and the second is a function output value.
|
||||
*
|
||||
@@ -53,7 +53,7 @@ public class Function<I, O> {
|
||||
/**
|
||||
* Create an interval {@link CameraFunction}
|
||||
* <p>
|
||||
* Zoom functions allow the appearance of a map feature to change with map’s zoom.
|
||||
* Zoom functions allow the appearance of a map feature to change with map’s zoom.
|
||||
* Zoom functions can be used to create the illusion of depth and control data density.
|
||||
* Each stop is an array with two elements, the first is a zoom and the second is a function output value.
|
||||
*
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Light {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the Position property. Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
|
||||
* Set the Position property. Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
|
||||
*
|
||||
* @param position of the light
|
||||
*/
|
||||
@@ -57,7 +57,7 @@ public class Light {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Position property. Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
|
||||
* Get the Position property. Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
|
||||
*
|
||||
* @return position as Position
|
||||
*/
|
||||
|
||||
@@ -5,11 +5,11 @@ package com.mapbox.mapboxsdk.style.light;
|
||||
* <p>
|
||||
* The position is constructed out of a radial coordinate, an azimuthal angle and a polar angle.
|
||||
* where the radial coordinate indicates the distance from the center of the base of an object to its light, the
|
||||
* azimuthal angle indicates the position of the light relative to 0° (0° when
|
||||
* azimuthal angle indicates the position of the light relative to 0° (0° when
|
||||
* {@link com.mapbox.mapboxsdk.style.layers.Property.ANCHOR} is set to viewport corresponds to the top of the
|
||||
* viewport, or 0° when {@link com.mapbox.mapboxsdk.style.layers.Property.ANCHOR} is set to map corresponds to due
|
||||
* viewport, or 0° when {@link com.mapbox.mapboxsdk.style.layers.Property.ANCHOR} is set to map corresponds to due
|
||||
* north, and degrees proceed clockwise), and polar indicates the height of the light
|
||||
* (from 0°, directly above, to 180°, directly below).
|
||||
* (from 0°, directly above, to 180°, directly below).
|
||||
*/
|
||||
public class Position {
|
||||
|
||||
@@ -21,7 +21,7 @@ public class Position {
|
||||
* Creates a Position from a radial coordinate, an azimuthal angle and a polar angle.
|
||||
*
|
||||
* @param radialCoordinate the distance from the center of the base of an object to its light
|
||||
* @param azimuthalAngle the position of the light relative to 0°
|
||||
* @param azimuthalAngle the position of the light relative to 0°
|
||||
* @param polarAngle the height of the light
|
||||
*/
|
||||
public Position(float radialCoordinate, float azimuthalAngle, float polarAngle) {
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Contains the Mapbox Maps Android Text API classes.
|
||||
*/
|
||||
package com.mapbox.mapboxsdk.text;
|
||||
@@ -13,6 +13,7 @@ const lightProperties = Object.keys(spec[`light`]).reduce((memo, name) => {
|
||||
var property = spec[`light`][name];
|
||||
property.name = name;
|
||||
property['light-property'] = true;
|
||||
property.doc = property.doc.replace(/°/g,'°');
|
||||
memo.push(property);
|
||||
return memo;
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user