Skip to main content

GeomapGeocircle

<ui5-geomap-geocircle>

The ui5-geomap-geocircle defines the Geo Circle webcomponent. GeomapGeocircle represents circles, defined in a real-world units (km, miles, etc.). Rendered on the map as layers.

ES6 Module Import​

import "@ui5/webcomponents-geomap/dist/GeomapGeocircle.js";

Basic Sample​

Properties​

lng​

DescriptionDescribes the longitude of the center of the geo-circle.
Typenumber
Default0

lat​

DescriptionDescribes the latitude of the center of the geo-circle.
Typenumber
Default0

radius​

DescriptionDescribes the radius of the geo-circle.
Typenumber
Default0

units​

DescriptionDescribes the units in which the radius is measured.
Typestring
Default"kilometers"

fillColor​

DescriptionDescribes the color of the fill of the geo-circle.
Typestring
Default"black"

outlineColor​

DescriptionDescribes the outline color of the geo-circle.
Typestring
Default"black"

opacity​

DescriptionDescribes the opacity of the fill of the geo-circle.
Typenumber
Default0.5

dragndrop​

DescriptionDescribes if the geocircle is draggable & editable.
Typeboolean
Defaultfalse

minZoom​

DescriptionWhen the map's zoom property is less than this value, the layer will be hidden. Accepts values between 0 and 24.
Typenumber
Default0

maxZoom​

DescriptionWhen the map's zoom property is equal to, or greater than this value, the layer will be hidden Accepts values between 0 and 24.
Typenumber
Default0

filter​

DescriptionWhen set, only features, matching the filter, will be displayed
Typeobject
Default

displayedFeatures​

DescriptionDetermines which features the layer will display - All (default), only not-clustered, or only clustered Note: This property is ignored if the filter property is set Note: This property only makes sense when the layer is used for clustering (displays data from a ui5-geomap-cluster-source element)
Type"All" | "NotClustered" | "Clustered"
Default"All"

hidden​

DescriptionDetermines if the layer is hidden.
Typeboolean
Defaultfalse

zIndex​

DescriptionDescribes the zIndex of the layer. The layer with the highest zIndex will be on top.
Typenumber
Default0

width​

DescriptionDescribes the width of the layer.
Typenumber | null | undefined
Defaultundefined

layer​

DescriptionReturns the layer object in maplibre
Typeany
Default
Readonlytrue

Slots​

No slots available for this component.

Events​

geocircle-dragndrop-end​

DescriptionFired when the geocircle edit is finished.
TypeCustomEvent
BubblesYes
CancelableYes - via preventDefault()

layer-click​

DescriptionLayer clicked
TypeCustomEvent
BubblesNo
CancelableNo

layer-mouseenter​

DescriptionMouse entered layer
TypeCustomEvent
BubblesNo
CancelableNo

layer-mousemove​

DescriptionMouse moved in the layer
TypeCustomEvent
BubblesNo
CancelableNo

layer-mouseleave​

DescriptionMouse left the layer
TypeCustomEvent
BubblesNo
CancelableNo

layer-mousedown​

DescriptionMouse button down on the layer
TypeCustomEvent
BubblesNo
CancelableNo

layer-mouseup​

DescriptionMouse button up on the layer
TypeCustomEvent
BubblesNo
CancelableNo

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.