public class DatabaseRenderer extends StandardRenderer
MapDataStore.graphicFactory, hillsRenderConfig, mapDataStore| Constructor and Description |
|---|
DatabaseRenderer(MapDataStore mapDataStore,
org.mapsforge.core.graphics.GraphicFactory graphicFactory,
TileCache tileCache,
TileBasedLabelStore labelStore,
boolean renderLabels,
boolean cacheLabels,
HillsRenderConfig hillsRenderConfig)
Constructs a new DatabaseRenderer.
|
| Modifier and Type | Method and Description |
|---|---|
org.mapsforge.core.graphics.TileBitmap |
executeJob(RendererJob rendererJob)
Called when a job needs to be executed.
|
MapDataStore |
getMapDatabase() |
getStartPosition, getStartZoomLevel, getZoomLevelMax, processReadMapData, renderArea, renderAreaCaption, renderAreaSymbol, renderPointOfInterest, renderPointOfInterestCaption, renderPointOfInterestCircle, renderPointOfInterestSymbol, renderWaterBackground, renderWay, renderWay, renderWaySymbol, renderWayTextpublic DatabaseRenderer(MapDataStore mapDataStore, org.mapsforge.core.graphics.GraphicFactory graphicFactory, TileCache tileCache, TileBasedLabelStore labelStore, boolean renderLabels, boolean cacheLabels, HillsRenderConfig hillsRenderConfig)
mapDataStore - the data source.graphicFactory - the graphic factory.tileCache - where tiles are cached (needed if labels are drawn directly onto tiles, otherwise null)labelStore - where labels are cached.renderLabels - if labels should be rendered.cacheLabels - if labels should be cached.hillsRenderConfig - the hillshading setup to be used (can be null).public org.mapsforge.core.graphics.TileBitmap executeJob(RendererJob rendererJob)
rendererJob - the job that should be executed.public MapDataStore getMapDatabase()