mapbox-maps-android
/
com.mapbox.maps.extension.style.sources
/
TileSet
/
Builder
androidJvm
Builder
open class
Builder
(tilejson:
String
, tiles:
List
<
String
>)
Content copied to clipboard
Builder for TileSet.
Constructors
Functions
Properties
Inheritors
Constructors
Builder
Link copied to clipboard
androidJvm
fun
Builder
(tilejson:
String
, tiles:
List
<
String
>)
Content copied to clipboard
Functions
attribution
Link copied to clipboard
androidJvm
fun
attribution
(value:
String
):
<ERROR CLASS>
Content copied to clipboard
Default: null.
bounds
Link copied to clipboard
androidJvm
fun
bounds
(value:
List
<
Double
> = listOf(-180.0, -90.0, 180.0, 90.0)):
<ERROR CLASS>
Content copied to clipboard
Default: -180, -90, 180, 90.
build
Link copied to clipboard
androidJvm
fun
build
():
TileSet
Content copied to clipboard
Build the TileSet.
center
Link copied to clipboard
androidJvm
fun
center
(value:
List
<
Double
>):
<ERROR CLASS>
Content copied to clipboard
The first value is the longitude, the second is latitude (both in WGS:84 values), the third value is the zoom level as an integer.
data
Link copied to clipboard
androidJvm
fun
data
(value:
List
<
String
>):
<ERROR CLASS>
Content copied to clipboard
An array of data files in GeoJSON format.
description
Link copied to clipboard
androidJvm
fun
description
(value:
String
):
<ERROR CLASS>
Content copied to clipboard
A text description of the tileset.
equals
Link copied to clipboard
androidJvm
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
grids
Link copied to clipboard
androidJvm
fun
grids
(value:
List
<
String
>):
<ERROR CLASS>
Content copied to clipboard
An array of interactivity endpoints.
hashCode
Link copied to clipboard
androidJvm
open fun
hashCode
():
Int
Content copied to clipboard
legend
Link copied to clipboard
androidJvm
fun
legend
(value:
String
):
<ERROR CLASS>
Content copied to clipboard
Contains a legend to be displayed with the map.
maxZoom
Link copied to clipboard
androidJvm
fun
maxZoom
(value:
Int
= 30):
<ERROR CLASS>
Content copied to clipboard
Default to 30.
minZoom
Link copied to clipboard
androidJvm
fun
minZoom
(value:
Int
= 0):
<ERROR CLASS>
Content copied to clipboard
Default to 0.
name
Link copied to clipboard
androidJvm
fun
name
(value:
String
):
<ERROR CLASS>
Content copied to clipboard
A name describing the tileset.
scheme
Link copied to clipboard
androidJvm
fun
scheme
(value:
Scheme
):
<ERROR CLASS>
Content copied to clipboard
Default: "xyz".
template
Link copied to clipboard
androidJvm
fun
template
(value:
String
):
<ERROR CLASS>
Content copied to clipboard
Contains a mustache template to be used to format data from grids for interaction.
toString
Link copied to clipboard
androidJvm
open fun
toString
():
String
Content copied to clipboard
version
Link copied to clipboard
androidJvm
fun
version
(value:
String
= "1.0.0"):
<ERROR CLASS>
Content copied to clipboard
Default: "1.0.0".
Properties
tilejson
Link copied to clipboard
androidJvm
val
tilejson
:
String
Content copied to clipboard
tiles
Link copied to clipboard
androidJvm
val
tiles
:
List
<
String
>
Content copied to clipboard
Inheritors
TileSet
Link copied to clipboard