Use the MapLibre style spec docs website (#353)

This commit is contained in:
Oliver Wipfli
2022-07-05 18:25:11 +02:00
committed by GitHub
parent 96df260e83
commit 6bbeb9fd91
20 changed files with 227 additions and 227 deletions

View File

@@ -30,31 +30,31 @@ public final class Resource {
public static final int STYLE = 1;
/**
* TileJSON file as specified in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sources
* TileJSON file as specified in https://maplibre.org/maplibre-gl-js-docs/style-spec/#root-sources
*/
public static final int SOURCE = 2;
/**
* A vector or raster tile as described in the style sheet at
* https://www.mapbox.com/mapbox-gl-js/style-spec/#sources
* https://maplibre.org/maplibre-gl-js-docs/style-spec/#sources
*/
public static final int TILE = 3;
/**
* Signed distance field glyphs for text rendering. These are the URLs specified in the style
* in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-glyphs
* in https://maplibre.org/maplibre-gl-js-docs/style-spec/#root-glyphs
*/
public static final int GLYPHS = 4;
/**
* Image part of a sprite sheet. It is constructed of the prefix in
* https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sprite and a PNG file extension.
* https://maplibre.org/maplibre-gl-js-docs/style-spec/#root-sprite and a PNG file extension.
*/
public static final int SPRITE_IMAGE = 5;
/**
* JSON part of a sprite sheet. It is constructed of the prefix in
* https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sprite and a JSON file extension.
* https://maplibre.org/maplibre-gl-js-docs/style-spec/#root-sprite and a JSON file extension.
*/
public static final int SPRITE_JSON = 6;
}

View File

@@ -5,7 +5,7 @@ import androidx.annotation.Keep;
/**
* Resembles transition property from the style specification.
*
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#transition">Transition documentation</a>
* @see <a href="https://maplibre.org/maplibre-gl-js-docs/style-spec/#transition">Transition documentation</a>
*/
public class TransitionOptions {

View File

@@ -11,7 +11,7 @@ import java.net.URL;
/**
* A raster DEM source.
*
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-dem">The style specification</a>
* @see <a href="https://maplibre.org/maplibre-gl-js-docs/style-spec/#sources-raster-dem">The style specification</a>
*/
@UiThread
public class RasterDemSource extends Source {

View File

@@ -8,7 +8,7 @@ import java.util.Arrays;
/**
* Represents a string broken into sections annotated with separate formatting options.
*
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#types-formatted">Style specification</a>
* @see <a href="https://maplibre.org/maplibre-gl-js-docs/style-spec/#types-formatted">Style specification</a>
*/
@Keep
public class Formatted {