GlStencilOsm

Stencil land/water uses the same OSM MVT URL as com.xweather.mapsgl.weather.WeatherSource.base_osm but a dedicated source id so MapboxMapController.addToMap always adds com.mapbox.maps.extension.style.sources.CustomGeometrySource via MapboxVectorSourceAdapter.

Map styles commonly declare base.osm in JSON; in that case Mapbox never calls our com.xweather.mapsgl.sources.VectorTileSource.requestTile / glStencilMaskTileListener path, and the land stencil cache stays empty.

Types

Link copied to clipboard

Which vector tile source to use for the GLES stencil land/water mask.

Properties

Link copied to clipboard

Mapbox public access token, required only when source is Source.MAPBOX. Ignored for Source.MAPSGL.

Link copied to clipboard

Active stencil source. Set before constructing the MapboxMapController.

Link copied to clipboard
const val SOURCE_ID: String