Package locus.api.objects.geoData
Class Circle
-
-
Field Summary
Fields Modifier and Type Field Description private final Locationlocationprivate final Floatradiusprivate BooleanunitsMetresprivate BooleanisDrawPreciseprivate Longidprivate Stringnameprivate LongtimeCreatedprivate LongtimeUpdatedprivate GeoDataExtraextraDataprivate GeoDataStylestyleNormalprivate GeoDataStylestyleHighlightprivate GeoData.Privacyprivacyprivate Booleanprotectedprivate BooleanisEnabledprivate BooleanisVisibleprivate BooleanisSelectedprivate ByteArrayextraDataRawprivate ByteArraystylesprivate final Storablecopyprivate final ByteArrayasBytes
-
Method Summary
Modifier and Type Method Description final LocationgetLocation()Center location. final FloatgetRadius()Radius of circle (in m). final BooleangetUnitsMetres()Flag that define units used for radius. final UnitsetUnitsMetres(Boolean unitsMetres)Flag that define units used for radius. final BooleanisDrawPrecise()Flag if circle should be draw as precise geodetic circle. final UnitsetDrawPrecise(Boolean isDrawPrecise)Flag if circle should be draw as precise geodetic circle. -
Methods inherited from class locus.api.objects.geoData.GeoData
addParameter, addParameter, addParameter, getExtraData, getExtraDataRaw, getId, getName, getParameter, getParameterRaw, getPrivacy, getProtected, getStyleHighlight, getStyleNormal, getStyles, getTag, getTag, getTagsKeys, getTimeCreated, getTimeUpdated, hasParameter, isEnabled, isSelected, isVisible, removeParameter, setEnabled, setExtraData, setExtraDataRaw, setId, setName, setPrivacy, setProtected, setSelected, setStyleHighlight, setStyleNormal, setStyles, setTag, setTag, setTimeCreated, setTimeUpdated, setVisible -
Methods inherited from class locus.api.objects.Storable
getAsBytes, getCopy, read, read, read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getLocation
final Location getLocation()
Center location.
-
getUnitsMetres
final Boolean getUnitsMetres()
Flag that define units used for radius. In case of
falsevalue, pixels area used (so circle will be independent on the zoom level).
-
setUnitsMetres
final Unit setUnitsMetres(Boolean unitsMetres)
Flag that define units used for radius. In case of
falsevalue, pixels area used (so circle will be independent on the zoom level).
-
isDrawPrecise
final Boolean isDrawPrecise()
Flag if circle should be draw as precise geodetic circle. This will highly improve circle precision for bigger radius (100+ metres), but may affect rendering performance.
-
setDrawPrecise
final Unit setDrawPrecise(Boolean isDrawPrecise)
Flag if circle should be draw as precise geodetic circle. This will highly improve circle precision for bigger radius (100+ metres), but may affect rendering performance.
-
-
-
-