This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added style parser tests for circle-{blur,color,radius}
Part of #1740.
- Loading branch information
1 parent
49c605a
commit c3d510f
Showing
6 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"default": { | ||
"log": [ | ||
[1, "WARNING", "ParseStyle", "value of 'circle-blur' must be a number, or a number function"] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": 6, | ||
"sources": { | ||
"mapbox": { | ||
"type": "vector", | ||
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5", | ||
"maxzoom": 14 | ||
} | ||
}, | ||
"layers": [{ | ||
"id": "circle_blur_example", | ||
"type": "circle", | ||
"source": "mapbox", | ||
"paint": { | ||
"circle-blur": null | ||
} | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"default": { | ||
"log": [ | ||
[1, "WARNING", "ParseStyle", "color value must be a string"] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": 6, | ||
"sources": { | ||
"mapbox": { | ||
"type": "vector", | ||
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5", | ||
"maxzoom": 14 | ||
} | ||
}, | ||
"layers": [{ | ||
"id": "circle_color_example", | ||
"type": "circle", | ||
"source": "mapbox", | ||
"paint": { | ||
"circle-color": null | ||
} | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"default": { | ||
"log": [ | ||
[1, "WARNING", "ParseStyle", "value of 'circle-radius' must be a number, or a number function"] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": 6, | ||
"sources": { | ||
"mapbox": { | ||
"type": "vector", | ||
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5", | ||
"maxzoom": 14 | ||
} | ||
}, | ||
"layers": [{ | ||
"id": "circle_radius_example", | ||
"type": "circle", | ||
"source": "mapbox", | ||
"paint": { | ||
"circle-radius": null | ||
} | ||
}] | ||
} |