public class VectorTileTextStyle extends VectorTileStyle
Modifier and Type | Class and Description |
---|---|
static class |
VectorTileTextStyle.Placement |
geomAdditive, selectable, uuid, viewC
Constructor and Description |
---|
VectorTileTextStyle(LabelInfo labelInfo,
VectorTileTextStyle.Placement placement,
Point2d offset,
java.lang.String textField,
VectorStyleSettings settings,
RenderControllerInterface viewC) |
Modifier and Type | Method and Description |
---|---|
void |
buildObjects(VectorObject[] objects,
VectorTileData tileData,
RenderControllerInterface controller)
Construct objects related to this style based on the input data.
|
static java.lang.String |
formatText(java.lang.String formatString,
AttrDictionary attributes)
Parse a mapnik-style template string.
|
geomIsAdditive, getCategory, getUuid
public VectorTileTextStyle(LabelInfo labelInfo, VectorTileTextStyle.Placement placement, Point2d offset, java.lang.String textField, VectorStyleSettings settings, RenderControllerInterface viewC)
public void buildObjects(VectorObject[] objects, VectorTileData tileData, RenderControllerInterface controller)
VectorStyle
objects
- The vector objects we'll build a visual representation for.tileData
- Information about the tile and where we put the tile when we're done.controller
- The MaplyBaseController to use when building the visual representation.public static java.lang.String formatText(java.lang.String formatString, AttrDictionary attributes)
formatString
- The format string.attributes
- Attributes for substitution.