Module: ol/style/Circle

ol/style/Circle


Classes

CircleStyle

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
fill module:ol/style/Fill~Fill <optional>

Fill style.

radius number

Circle radius.

snapToPixel boolean <optional>
true

If true integral numbers of pixels are used as the X and Y pixel coordinate when drawing the circle in the output canvas. If false fractional numbers may be used. Using true allows for "sharp" rendering (no blur), while using false allows for "accurate" rendering. Note that accuracy is important if the circle's position is animated. Without it, the circle may jitter noticeably.

stroke module:ol/style/Stroke~Stroke <optional>

Stroke style.

atlasManager module:ol/style/AtlasManager~AtlasManager <optional>

The atlas manager to use for this circle. When using WebGL it is recommended to use an atlas manager to avoid texture switching. If an atlas manager is given, the circle is added to an atlas. By default no atlas manager is used.