Circle
A filled circle object.
Property of Paint
circle-blur
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity. (Default : 0)
Numeric
circle-color
The fill color of the circle. (Default : #000000)
Hex values, RGB, RGBA, HSL, HSLA, Colors Name
circle-opacity
The opacity at which the circle will be drawn. between 0
and 1
inclusive.
(Default : 1)
Numeric
circle-pitch-alignment
Orientation of circle when map is pitched.
"map"
:
The circle is aligned to the plane of the map.
"viewport"
:
The circle is aligned to the plane of the viewport. (Default : viewport)
String
circle-pitch-scale
Controls the scaling behavior of the circle when the map is pitched.
"map"
:
Circles are scaled according to their apparent distance to the camera.
"viewport"
:
Circles are not scaled. (Default : map)
String
circle-radius
Circle radius.
It must be greater than or equal to 0 .
(Default : 0)
Numeric
circle-stroke-color
The stroke color of the circle. (Default : #000000)
Hex values, RGB, RGBA, HSL, HSLA, Colors Name
circle-stroke-width
The width of the circle's stroke. Strokes are placed outside of the circle-radius
.
must be greater than or equal to 0
.
(Default : 0)
Numeric
circle-translate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively. (Default : [0,0])
Array of numbers
circle-translate-anchor
Controls the frame of reference for circle-translate
.
"map"
:
The circle is translated relative to the map.
"viewport"
:
The circle is translated relative to the viewport. (Default : map)
String
Property of Layout
visibility
Whether this layer is displayed.
"visible"
:
The layer is shown.
"none"
:
The layer is not shown. (Default : visible)
String
(visible or none)
line-cap
The display of line endings.
"butt"
:
A cap with a squared-off end which is drawn to the exact endpoint of the line.
"round"
:
A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
"square"
:
A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width. (Default : butt)
String
line-join
The display of lines when joining.
"bevel"
:
A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.
"round"
:
A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
"miter"
:
A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet. (Default : miter)
String
line-miter-limit
Used to automatically convert miter joins to bevel joins for sharp angles. (Default : 2)
number
line-round-limit
Used to automatically convert round joins to miter joins for shallow angles. (Default : 1.05)
number
The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].
Last updated