public interface IRenderTheme
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRenderTheme.ThemeException |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Must be called when this RenderTheme gets destroyed to clean up and free
resources.
|
int |
getLevels() |
int |
getMapBackground() |
boolean |
isMapsforgeTheme()
Is Mapsforge or VTM theme.
|
RenderStyle[] |
matchElement(GeometryBuffer.GeometryType type,
TagSet tags,
int zoomLevel)
Matches a MapElement with the given parameters against this RenderTheme.
|
void |
scaleTextSize(float scaleFactor)
Scales the text size of this RenderTheme by the given factor.
|
java.lang.String |
transformBackwardKey(java.lang.String key)
Transform internal key to tile source key.
|
Tag |
transformBackwardTag(Tag tag)
Transform internal tag to tile source tag.
|
java.lang.String |
transformForwardKey(java.lang.String key)
Transform tile source key to internal key.
|
Tag |
transformForwardTag(Tag tag)
Transform tile source tag to internal tag.
|
void |
updateStyles() |
RenderStyle[] matchElement(GeometryBuffer.GeometryType type, TagSet tags, int zoomLevel)
zoomLevel - the zoom level at which the way should be matched.void dispose()
int getLevels()
int getMapBackground()
boolean isMapsforgeTheme()
void updateStyles()
void scaleTextSize(float scaleFactor)
scaleFactor - the factor by which the text size should be scaled.java.lang.String transformBackwardKey(java.lang.String key)
java.lang.String transformForwardKey(java.lang.String key)
Tag transformBackwardTag(Tag tag)