toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsgl.map.mapbox
/
MapboxLayerHost
Mapbox
Layer
Host
class
MapboxLayerHost
(
context
:
Context
,
mapLayer
:
MapLayer
<
TileData
,
LayerRenderContext
<
Any
>
>
)
:
CustomLayerHost
MapboxLayerHost.kt
Author
Jason Suto 11/30/23.
Members
Constructors
Mapbox
Layer
Host
Link copied to clipboard
constructor
(
context
:
Context
,
mapLayer
:
MapLayer
<
TileData
,
LayerRenderContext
<
Any
>
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
camera
Link copied to clipboard
lateinit
var
camera
:
Camera
hash
Map
Link copied to clipboard
var
hashMap
:
HashMap
<
String
,
Int
>
id
Link copied to clipboard
var
id
:
String
needs
Render
Link copied to clipboard
var
needsRender
:
Boolean
need
To
Bind
Textures
Link copied to clipboard
var
needToBindTextures
:
Boolean
show
Layer
Link copied to clipboard
var
showLayer
:
Boolean
waiting
For
Render
Link copied to clipboard
var
waitingForRender
:
Boolean
Functions
context
Lost
Link copied to clipboard
open
override
fun
contextLost
(
)
deinitialize
Link copied to clipboard
open
override
fun
deinitialize
(
)
initialize
Link copied to clipboard
open
override
fun
initialize
(
)
prerender
Link copied to clipboard
@
NonNull
open
fun
prerender
(
@
NonNull
p0
:
CustomLayerRenderParameters
)
:
CustomLayerRenderConfiguration
render
Link copied to clipboard
open
override
fun
render
(
parameters
:
CustomLayerRenderParameters
)
render
To
Tile
Link copied to clipboard
open
fun
renderToTile
(
@
NonNull
p0
:
CanonicalTileID
)
set
Layer
Host
Camera
Link copied to clipboard
fun
setLayerHostCamera
(
camera
:
Camera
)
set
Textures
To
Bind
Link copied to clipboard
fun
setTexturesToBind
(
doBind
:
Boolean
=
true
)