Package totalcross.map
Class GoogleMaps.Circle
- java.lang.Object
-
- totalcross.map.GoogleMaps.MapItem
-
- totalcross.map.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;
-
-
Constructor Summary
Constructors Constructor Description Circle()
-
-
-
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.
-
-