Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #5160 - Fixing JavaDoc markup
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed May 26, 2016
1 parent 50297a5 commit 7315a35
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ public class Style {

/**
* Get versioned url of Mapbox streets style.
* <p>
* <ul>
* <li>Current default version is 9.</li>
* </ul
* </p>
* </ul>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand All @@ -65,11 +63,9 @@ public static String getMapboxStreetsUrl(int version) {

/**
* Get versioned url of Outdoors streets style.
* <p>
* <ul>
* <li>Current version is 9.</li>
* </ul>
* </p>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand All @@ -83,11 +79,9 @@ public static String getOutdoorsStyleUrl(int version) {

/**
* Get versioned url of Light style.
* <p>
* <ul>
* <li>Current default version is 9.</li>
* </ul>
* </p>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand All @@ -101,11 +95,9 @@ public static String getLightStyleUrl(int version) {

/**
* Get versioned url of Dark style.
* <p>
* <ul>
* <li>Current default version is 9.</li>
* </ul>
* </p>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand All @@ -119,11 +111,9 @@ public static String getDarkStyleUrl(int version) {

/**
* Get versioned url of Satellite style.
* <p>
* <ul>
* <li>Current version is 9.</li>
* </ul>
* </p>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand All @@ -137,11 +127,9 @@ public static String getSatelliteStyleUrl(int version) {

/**
* Get versioned url of Satellite streets style.
* <p>
* <ul>
* <li>Current version is 9.</li>
* </ul>
* </p>
* <p>
* More information on the Mapbox styles API can be found on https://www.mapbox.com/api-documentation/#styles
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@

/**
* Manages locational updates. Contains methods to register and unregister location listeners.
* <p>
* <ul>
* <li>You can register a {@link LocationListener} with {@link #addLocationListener(LocationListener)} to receive location updates.</li>
* <li> You can unregister a {@link LocationListener} with {@link #removeLocationListener(LocationListener)}.</li>
* </ul>
* <p/>
* <p>
* Note: If registering a listener in your Activity.onResume() implementation, you should unregister it in Activity.onPause().
* (You won't receive location updates when paused, and this will cut down on unnecessary system overhead).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ public void setAccessToken(@NonNull String accessToken) {
* <p>
* DEPRECATED @see MapboxAccountManager#getAccessToken()
* </p>
* <p/>
* <p>
* Returns the current Mapbox access token used to load map styles and tiles.
* </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public final void moveCamera(CameraUpdate update, MapboxMap.CancelableCallback c
* it will return the current location of the camera in flight.
*
* @param update The change that should be applied to the camera.
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void easeCamera(CameraUpdate update) {
Expand All @@ -306,7 +306,7 @@ public final void easeCamera(CameraUpdate update) {
* @param update The change that should be applied to the camera.
* @param durationMs The duration of the animation in milliseconds. This must be strictly
* positive, otherwise an IllegalArgumentException will be thrown.
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void easeCamera(CameraUpdate update, int durationMs) {
Expand All @@ -327,7 +327,7 @@ public final void easeCamera(CameraUpdate update, int durationMs) {
* will be notified with onFinish(). If the animation stops due to interruption
* by a later camera movement or a user gesture, onCancel() will be called.
* Do not update or ease the camera from within onCancel().
* @see {@link CameraUpdateFactory} for a set of camera updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void easeCamera(CameraUpdate update, int durationMs, final MapboxMap.CancelableCallback callback) {
Expand Down Expand Up @@ -368,7 +368,7 @@ public void onFinish() {
* of the camera in flight.
*
* @param update The change that should be applied to the camera.
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void animateCamera(CameraUpdate update) {
Expand All @@ -385,7 +385,7 @@ public final void animateCamera(CameraUpdate update) {
* @param callback The callback to invoke from the main thread when the animation stops. If the
* animation completes normally, onFinish() is called; otherwise, onCancel() is
* called. Do not update or animate the camera from within onCancel().
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void animateCamera(CameraUpdate update, MapboxMap.CancelableCallback callback) {
Expand All @@ -401,7 +401,7 @@ public final void animateCamera(CameraUpdate update, MapboxMap.CancelableCallbac
* @param update The change that should be applied to the camera.
* @param durationMs The duration of the animation in milliseconds. This must be strictly
* positive, otherwise an IllegalArgumentException will be thrown.
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void animateCamera(CameraUpdate update, int durationMs) {
Expand All @@ -424,7 +424,7 @@ public final void animateCamera(CameraUpdate update, int durationMs) {
* by a later camera movement or a user gesture, onCancel() will be called.
* Do not update or animate the camera from within onCancel(). If a callback
* isn't required, leave it as null.
* @see {@link CameraUpdateFactory} for a set of updates.
* @see com.mapbox.mapboxsdk.camera.CameraUpdateFactory for a set of updates.
*/
@UiThread
public final void animateCamera(CameraUpdate update, int durationMs, final MapboxMap.CancelableCallback callback) {
Expand Down Expand Up @@ -1282,9 +1282,11 @@ private boolean isInfoWindowValidForMarker(@NonNull Marker marker) {
//

/**
* <p>
* Sets the distance from the edges of the map view’s frame to the edges of the map
* view’s logical viewport.
* <p/>
* </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
Expand Down

0 comments on commit 7315a35

Please sign in to comment.