Class MediaMBSource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaMBSource

        public MediaMBSource​(JSONObject json)
      • MediaMBSource

        public MediaMBSource​(JSONObject json,
                             MBObjectParser parser)
    • Method Detail

      • getCoordinates

        public 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. Example:
        "coordinates": [ [-80.425, 46.437], [-71.516, 46.437], [-71.516, 37.936], [-80.425, 37.936] ]
        Returns:
        Array of [longitude, latitude] pairs for the image corners listed in clockwise order