Package org.geotools.mbstyle.source
Class ImageMBSource
- Object
-
- MBSource
-
- MediaMBSource
-
- ImageMBSource
-
public class ImageMBSource extends MediaMBSource
Wrapper around aJSONObjectcontaining a Mapbox image source.
-
-
Constructor Summary
Constructors Constructor Description ImageMBSource(JSONObject json)ImageMBSource(JSONObject json, MBObjectParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Type of source.StringgetUrl()(Required) URL that points to an image.-
Methods inherited from class MediaMBSource
getCoordinates
-
-
-
-
Constructor Detail
-
ImageMBSource
public ImageMBSource(JSONObject json)
-
ImageMBSource
public ImageMBSource(JSONObject json, MBObjectParser parser)
-
-
Method Detail
-
getUrl
public String getUrl()
(Required) URL that points to an image.- Returns:
- String for the URL
-
-