Class MapBoxStyle


  • public class MapBoxStyle
    extends Object
    MapBox Style facade offering utility methods for quickly working with JSON and converting to StyledLayerDescriptor.
    Author:
    Jody Garnett (Boundless)
    • Constructor Detail

      • MapBoxStyle

        public MapBoxStyle()
    • Method Detail

      • validate

        public static List<Exception> validate​(Reader reader)
        Validate ability to read json, and parse each layer.
        Parameters:
        reader - Reader for reading the style
        Returns:
        List of parse exceptions found. If this list is empty, the style is valid.