Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

V8 circle #285

Merged
merged 3 commits into from
Jun 17, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
"values": [
"fill",
"line",
"circle",
"symbol",
"raster",
"background"
Expand Down Expand Up @@ -242,6 +243,7 @@
"layout": [
"layout_fill",
"layout_line",
"layout_circle",
"layout_symbol",
"layout_raster",
"layout_background"
Expand Down Expand Up @@ -326,6 +328,7 @@
"doc": "The display of this layer. `none` hides this layer."
}
},
"layout_circle": {},
"layout_symbol": {
"symbol-placement": {
"type": "symbol-placement-enum",
Expand Down Expand Up @@ -766,6 +769,7 @@
"paint": [
"paint_fill",
"paint_line",
"paint_circle",
"paint_symbol",
"paint_raster",
"paint_background"
Expand Down Expand Up @@ -941,6 +945,31 @@
"doc": "Name of image in sprite to use for drawing image lines."
}
},
"paint_circle": {
"circle-radius": {
"type": "number",
"default": 1,
"minimum": 0,
"function": "interpolated",
"transition": true,
"units": "pixels",
"doc": "Circle radius."
},
"circle-color": {
"type": "color",
"default": "#000000",
"doc": "The color of the circle.",
"function": "interpolated",
"transition": true
},
"circle-blur": {
"type": "number",
"default": 0,
"doc": "Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",
"function": "interpolated",
"transition": true
}
},
"paint_symbol": {
"icon-opacity": {
"doc": "The opacity at which the icon will be drawn.",
Expand Down