Class RectangleDrawable

java.lang.Object
org.oscim.layers.vector.geometries.JtsDrawable
org.oscim.layers.vector.geometries.RectangleDrawable
All Implemented Interfaces:
Drawable

public class RectangleDrawable extends JtsDrawable
Predefined class to draw rectangles on the map
  • Constructor Details

    • RectangleDrawable

      public RectangleDrawable(org.oscim.core.GeoPoint topLeft, org.oscim.core.GeoPoint bottomRight)
      Creates a Rectangle given the top-left and the bottom-right coordinate of it
      Parameters:
      topLeft -
      bottomRight -
    • RectangleDrawable

      public RectangleDrawable(org.oscim.core.GeoPoint topLeft, org.oscim.core.GeoPoint bottomRight, Style style)
      Creates a Rectangle given the top-left and the bottom-right coordinate of it
      Parameters:
      topLeft -
      bottomRight -
    • RectangleDrawable

      public RectangleDrawable(double minLat, double minLon, double maxLat, double maxLon, Style style)
      Creates a Rectangle given the top-left and the bottom-right coordinate of it
      Parameters:
      topLeft -
      bottomRight -