Class HexagonDrawable

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

public class HexagonDrawable extends JtsDrawable
Predefined class for drawing hexagons on the map.
  • Constructor Details

    • HexagonDrawable

      public HexagonDrawable(org.oscim.core.GeoPoint center, double radiusKm)
      Parameters:
      center - GeoPoint - center of the hexagon
      radiusKm - Radius of the hexagon in kilometers. The size of the hexagon may be distorted due to the Mercator projections properties.
    • HexagonDrawable

      public HexagonDrawable(org.oscim.core.GeoPoint center, double radiusKm, double rotationRad, Style style)
      Parameters:
      center - GeoPoint - center of the hexagon
      radiusKm - Radius of the hexagon in kilometers. The size of the hexagon may be distorted due to the Mercator projections properties.
      rotationRad - rotation of the hexagon in radians
      style -