public class MapboxVectorInterpreter extends java.lang.Object implements LoaderInterpreter
| Constructor and Description |
|---|
MapboxVectorInterpreter(VectorStyleInterface inStyleInter,
BaseController inVC)
This version of the init builds visual features for vector tiles.
|
MapboxVectorInterpreter(VectorStyleInterface inImageStyle,
RenderController inTileRender,
VectorStyleInterface inVectorStyle,
BaseController inVC)
This version of the init takes an image style set, a vector style set,
and an offline renderer to build the image tiles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataForTile(LoaderReturn loadReturn,
QuadLoaderBase loader)
Parse the data coming back from a remote request and turn it into something we can use.
|
void |
setLoader(QuadLoaderBase inLoader)
Set when the loader first starts up.
|
public MapboxVectorInterpreter(VectorStyleInterface inStyleInter, BaseController inVC)
public MapboxVectorInterpreter(VectorStyleInterface inImageStyle, RenderController inTileRender, VectorStyleInterface inVectorStyle, BaseController inVC)
inImageStyle - Style used when rendering to image tilesinTileRender - Renderer used to draw the image tilesinVectorStyle - Style used in the main controller (e.g. the overlay)inVC - Controller where everything eventually goespublic void setLoader(QuadLoaderBase inLoader)
LoaderInterpretersetLoader in interface LoaderInterpreterpublic void dataForTile(LoaderReturn loadReturn, QuadLoaderBase loader)
LoaderInterpreterdataForTile in interface LoaderInterpreter