| Package | Description |
|---|---|
| org.geotools.mbstyle |
Support for MapBox Style generation for GeoTools.
|
| org.geotools.mbstyle.layer | |
| org.geotools.mbstyle.parse |
JSON Parsing support for MapBox Style support.
|
| org.geotools.mbstyle.transform |
| Modifier and Type | Method and Description |
|---|---|
static MBStyle |
MBStyle.create(Object json)
Parse MBStyle for the provided json.
|
| Modifier and Type | Method and Description |
|---|---|
Fill |
BackgroundMBLayer.getFill(MBStyle styleContext) |
List<FeatureTypeStyle> |
MBLayer.transform(MBStyle styleContext)
Transforms a given
MBLayer to a GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
MBLayer.transform(MBStyle styleContext,
Double minScaleDenominator,
Double maxScaleDenominator)
Transforms a given
MBLayer to a GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
RasterMBLayer.transformInternal(MBStyle styleContext)
Transform
RasterMBLayer to GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
FillMBLayer.transformInternal(MBStyle styleContext)
Transform MBFillLayer to GeoTools FeatureTypeStyle.
|
List<FeatureTypeStyle> |
FillExtrusionMBLayer.transformInternal(MBStyle styleContext)
Transform
FillExtrusionMBLayer to GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
SymbolMBLayer.transformInternal(MBStyle styleContext)
Transform
SymbolMBLayer to GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
BackgroundMBLayer.transformInternal(MBStyle styleContext)
Transform
BackgroundMBLayer to GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
LineMBLayer.transformInternal(MBStyle styleContext)
Transform
LineMBLayer to GeoTools FeatureTypeStyle. |
List<FeatureTypeStyle> |
CircleMBLayer.transformInternal(MBStyle styleContext)
Transform
CircleMBLayer to GeoTools FeatureTypeStyle. |
abstract List<FeatureTypeStyle> |
MBLayer.transformInternal(MBStyle styleContext) |
| Modifier and Type | Method and Description |
|---|---|
MBStyle |
MBStyleParser.parse(InputStream json)
Parse the provided json into MBStyle.
|
MBStyle |
MBStyleParser.parse(Reader json)
Parse the provided json into MBStyle.
|
MBStyle |
MBStyleParser.parse(String json)
Parse the provided json into MBStyle.
|
| Modifier and Type | Method and Description |
|---|---|
ExternalGraphic |
MBStyleTransformer.createExternalGraphicForSprite(Expression iconName,
Expression iconSize,
MBStyle styleContext)
Takes the name of an icon, and an
MBStyle as a context, and returns an External
Graphic referencing the full URL of the image for consumption by the SpriteGraphicFactory. |
ExternalGraphic |
MBStyleTransformer.createExternalGraphicForSprite(Expression iconName,
MBStyle styleContext)
Takes the name of an icon, and an
MBStyle as a context, and returns an External
Graphic referencing the full URL of the image for consumption by the SpriteGraphicFactory. |
Copyright © 1996–2021 Geotools. All rights reserved.