Class GoogleMaps.Circle

  • Enclosing class:
    GoogleMaps

    public static class GoogleMaps.Circle
    extends GoogleMaps.MapItem
    A map item that represents a circle.
          GoogleMaps.Circle c = new GoogleMaps.Circle();
          c.lat = -3.73243;
          c.lon = -38.483414;
          c.color = Color.BLUE;
          c.filled = false;
          c.rad = 70;
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int color
      The item color.
      boolean filled
      Set if the item is filled or not
      double lat
      Center of the circle
      double lon
      Center of the circle
      double rad
      The radius; if > 0, its computed as meters; if < 0, its computed as delta of the coordinates
    • Constructor Summary

      Constructors 
      Constructor Description
      Circle()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • lat

        public double lat
        Center of the circle
      • lon

        public double lon
        Center of the circle
      • rad

        public double rad
        The radius; if > 0, its computed as meters; if < 0, its computed as delta of the coordinates
      • filled

        public boolean filled
        Set if the item is filled or not
      • color

        public int color
        The item color. Alpha defaults to 255 if not specified.
    • Constructor Detail

      • Circle

        public Circle()