-
- All Implemented Interfaces:
-
android.opengl.GLSurfaceView.Renderer,ch.admin.geo.openswissmaps.util.SwisstopoMapViewInterface,io.openmobilemaps.mapscore.map.scheduling.AndroidSchedulerCallback,io.openmobilemaps.mapscore.map.util.MapViewInterface
public final class SwisstopoOffscreenMapRenderer extends OffscreenMapRenderer implements SwisstopoMapViewInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSwisstopoOffscreenMapRenderer.Companion
-
Field Summary
Fields Modifier and Type Field Description private final WmtsCapabilitiesResourceswisstopoWmtsResourceprivate Tiled2dMapZoomInfobaseLayerZoomInfoprivate Tiled2dMapRasterLayerInterfacebaseLayerprivate <ERROR CLASS>loadersprivate final Floatdensityprivate MapInterfacemapInterfaceprivate final Vec2IsizePx
-
Constructor Summary
Constructors Constructor Description SwisstopoOffscreenMapRenderer(Context context, CoroutineScope coroutineScope, Vec2I sizePx, Float density)
-
Method Summary
Modifier and Type Method Description final WmtsCapabilitiesResourcegetSwisstopoWmtsResource()final Tiled2dMapZoomInfogetBaseLayerZoomInfo()final UnitsetBaseLayerZoomInfo(Tiled2dMapZoomInfo baseLayerZoomInfo)final Tiled2dMapRasterLayerInterfacegetBaseLayer()final UnitsetBaseLayer(Tiled2dMapRasterLayerInterface baseLayer)final <ERROR CLASS>getLoaders()final Unit)>setLoaders(<ERROR CLASS> loaders)final FloatgetDensity()final MapInterfacegetMapInterface()final UnitsetMapInterface(MapInterface mapInterface)final Vec2IgetSizePx()final Unit)>setupMap(<ERROR CLASS><LoaderInterface> loaders)UnitsetBaseLayerType(SwisstopoLayerType layerType)UnitsetBaseLayerType(String identifier)UnitremoveLayer(LayerInterface layer)Tiled2dMapRasterLayerInterfaceaddSwisstopoLayer(SwisstopoLayerType layerType)Tiled2dMapRasterLayerInterfaceaddSwisstopoLayer(SwisstopoLayerType layerType, Tiled2dMapZoomInfo zoomInfo)Tiled2dMapRasterLayerInterfaceaddSwisstopoLayer(String identifier)Tiled2dMapRasterLayerInterfaceaddSwisstopoLayer(String identifier, Tiled2dMapZoomInfo zoomInfo)-
Methods inherited from class ch.admin.geo.openswissmaps.util.SwisstopoOffscreenMapRenderer
addLayer, destroy, getCamera, insertLayerAbove, insertLayerAt, insertLayerBelow, onDrawFrame, onSurfaceChanged, onSurfaceCreated, requireMapInterface, resume, saveFrame, scheduleOnGlThread, setBackgroundColor, setOnDrawCallback, setupMap -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSwisstopoWmtsResource
final WmtsCapabilitiesResource getSwisstopoWmtsResource()
-
getBaseLayerZoomInfo
final Tiled2dMapZoomInfo getBaseLayerZoomInfo()
-
setBaseLayerZoomInfo
final Unit setBaseLayerZoomInfo(Tiled2dMapZoomInfo baseLayerZoomInfo)
-
getBaseLayer
final Tiled2dMapRasterLayerInterface getBaseLayer()
-
setBaseLayer
final Unit setBaseLayer(Tiled2dMapRasterLayerInterface baseLayer)
-
getLoaders
final <ERROR CLASS> getLoaders()
-
setLoaders
final Unit )>setLoaders(<ERROR CLASS> loaders)
-
getDensity
final Float getDensity()
-
getMapInterface
final MapInterface getMapInterface()
-
setMapInterface
final Unit setMapInterface(MapInterface mapInterface)
-
getSizePx
final Vec2I getSizePx()
-
setupMap
final Unit )>setupMap(<ERROR CLASS><LoaderInterface> loaders)
-
setBaseLayerType
Unit setBaseLayerType(SwisstopoLayerType layerType)
-
setBaseLayerType
Unit setBaseLayerType(String identifier)
-
removeLayer
Unit removeLayer(LayerInterface layer)
-
addSwisstopoLayer
Tiled2dMapRasterLayerInterface addSwisstopoLayer(SwisstopoLayerType layerType)
-
addSwisstopoLayer
Tiled2dMapRasterLayerInterface addSwisstopoLayer(SwisstopoLayerType layerType, Tiled2dMapZoomInfo zoomInfo)
-
addSwisstopoLayer
Tiled2dMapRasterLayerInterface addSwisstopoLayer(String identifier)
-
addSwisstopoLayer
Tiled2dMapRasterLayerInterface addSwisstopoLayer(String identifier, Tiled2dMapZoomInfo zoomInfo)
-
-
-
-