Class RectangleDrawable
java.lang.Object
org.oscim.layers.vector.geometries.JtsDrawable
org.oscim.layers.vector.geometries.RectangleDrawable
- All Implemented Interfaces:
Drawable
Predefined class to draw rectangles on the map
-
Field Summary
Fields inherited from class org.oscim.layers.vector.geometries.JtsDrawable
coordFactory, geometry, geomFactory, priority, style -
Constructor Summary
ConstructorsConstructorDescriptionRectangleDrawable(double minLat, double minLon, double maxLat, double maxLon, Style style) Creates a Rectangle given the top-left and the bottom-right coordinate of itRectangleDrawable(org.oscim.core.GeoPoint topLeft, org.oscim.core.GeoPoint bottomRight) Creates a Rectangle given the top-left and the bottom-right coordinate of itRectangleDrawable(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 -
Method Summary
Methods inherited from class org.oscim.layers.vector.geometries.JtsDrawable
getGeometry, getPriority, getStyle, loadPoints, setPriority, setStyle
-
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
Creates a Rectangle given the top-left and the bottom-right coordinate of it- Parameters:
topLeft-bottomRight-
-