Class Source

    • Field Detail

      • name

        private final String name
        The name of the source
      • minZoom

        private final int minZoom
        The minimum zoom supported
      • maxZoom

        private final int maxZoom
        The maximum zoom supported
      • tileUrls

        private final String[] tileUrls
        The tile urls. These usually have replaceable fields.
      • attribution

        private final String attribution
        The attribution to display for the user
      • bounds

        private final Bounds bounds
        The bounds of the data. We should not request data outside of the bounds
      • promoteId

        private final String promoteId
        The property to use as a feature id. Can be parameterized
      • volatileCache

        private final boolean volatileCache
        true if the tiles should not be cached
      • tileSize

        private final int tileSize
        The tile size
    • Constructor Detail

      • Source

        public Source​(String name,
                      javax.json.JsonObject data)
        Create a new Source object
        Parameters:
        name - The name of the source object
        data - The data to set the source information with