public abstract class MediaMBSource extends MBSource
JSONObject
containing a Mapbox media (image or video) source.Constructor and Description |
---|
MediaMBSource(JSONObject json) |
MediaMBSource(JSONObject json,
MBObjectParser parser) |
Modifier and Type | Method and Description |
---|---|
List<Point2D.Double> |
getCoordinates()
(Required) Array of [longitude, latitude] pairs for the image corners listed in clockwise
order: top left, top right, bottom right, bottom left.
|
public MediaMBSource(JSONObject json)
public MediaMBSource(JSONObject json, MBObjectParser parser)
public List<Point2D.Double> getCoordinates()
"coordinates": [
[-80.425, 46.437],
[-71.516, 46.437],
[-71.516, 37.936],
[-80.425, 37.936]
]
Copyright © 1996–2022 Geotools. All rights reserved.