Package org.neshan.mapsdk.model
Class Circle
- java.lang.Object
-
- org.neshan.mapsdk.internal.elements.MapElement
-
- org.neshan.mapsdk.model.Circle
-
public class Circle extends org.neshan.mapsdk.internal.elements.MapElementA circle that can be drawn on aMapView
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.carto.vectorelements.VectorElementgetRealElement()java.util.UUIDgetUuid()unique auto generated identifier of this map elementorg.neshan.mapsdk.internal.elements.MapElementsetBaseProjection(com.carto.projections.Projection baseProjection)
-
-
-
Constructor Detail
-
Circle
public Circle(LatLng center, double radius, com.carto.graphics.Color color, com.carto.styles.LineStyle lineStyle)
- Parameters:
center- where to draw the circleradius- size of the circlecolor- solid fill color of the circlelineStyle- style of the outline stroke of the circle
-
Circle
public Circle(LatLng center, double radius, com.carto.styles.LineStyle lineStyle)
create a circle with transparent solid fill body- Parameters:
center- where to draw the circleradius- size of the circlelineStyle- style of the outline stroke of the circle
-
-
Method Detail
-
setBaseProjection
public org.neshan.mapsdk.internal.elements.MapElement setBaseProjection(com.carto.projections.Projection baseProjection)
- Specified by:
setBaseProjectionin classorg.neshan.mapsdk.internal.elements.MapElement
-
getRealElement
public com.carto.vectorelements.VectorElement getRealElement() throws NullProjectionException- Specified by:
getRealElementin classorg.neshan.mapsdk.internal.elements.MapElement- Throws:
NullProjectionException
-
getUuid
public java.util.UUID getUuid()
unique auto generated identifier of this map element- Overrides:
getUuidin classorg.neshan.mapsdk.internal.elements.MapElement- Returns:
-
-