Class TLspMBTilesVectorLayerBuilder

java.lang.Object
com.luciad.view.lightspeed.layer.ALspLayerBuilder
com.luciad.format.mbtiles.view.lightspeed.TLspMBTilesVectorLayerBuilder

public class TLspMBTilesVectorLayerBuilder extends ALspLayerBuilder
Layer builder for models containing MBTiles vector data, as produced by TLcdMBTilesModelDecoder. For models containing image data, use TLspRasterLayerBuilder.

Vector tile layers automatically load tiles from a detail level which is appropriate for the current view. If so desired, the qualityFactor(double) method can be used to bias the tile selection toward a higher or lower level of detail.

Vector tile layers generally provide the same styling options as TLspShapeLayerBuilder. See TLcdMBTilesModelDecoder for more information on the modeling of vector tile features as they are presented to your styler. Also note that density styling is not supported for vector tiles. Furthermore, the use of complex strokes is not recommended as it is likely to produce disturbing discontinuities in the stroke pattern where lines touch a tile boundary.

Like other vector features, you can select MBTiles vector tile features using TLspSelectController. However, vector tile features can be truncated at the boundaries of the tile that contain them. To enable selection styling for objects that span across multiple tiles, see uidProvider(Function).

For more information on working with MBTiles vector data, refer to the tutorial Working with MBTiles data.

Since:
2023.1