summaryrefslogtreecommitdiff
path: root/platform/darwin/scripts/style-spec-overrides-v8.json
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2017-06-16 06:41:51 -0700
committerGitHub <noreply@github.com>2017-06-16 06:41:51 -0700
commit67c09b18e491e66e2ba058498b8f3b44e49d0105 (patch)
treea82b0b79261c352a72a75e0792cf21b327759b03 /platform/darwin/scripts/style-spec-overrides-v8.json
parent6cba15f3a964b39184651dae32cccf32c8d706d0 (diff)
downloadqtlocation-mapboxgl-67c09b18e491e66e2ba058498b8f3b44e49d0105.tar.gz
MGLLight autogenerate scripts (#9260)
* [ios, macos] Add the MGLLight generation templates * [ios, macos] Add MGLLight generation script * [ios, macos] Add the auto-generation script for MGLLight.mm * [ios, macos] Add the auto-generation script for MGLLightTest.mm * [core] Add const to Position constructor. * [ios, macos] Simplify MGLLightTest.mm autogenerate script.
Diffstat (limited to 'platform/darwin/scripts/style-spec-overrides-v8.json')
-rw-r--r--platform/darwin/scripts/style-spec-overrides-v8.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/darwin/scripts/style-spec-overrides-v8.json b/platform/darwin/scripts/style-spec-overrides-v8.json
index a594ef2957..67a6641fe7 100644
--- a/platform/darwin/scripts/style-spec-overrides-v8.json
+++ b/platform/darwin/scripts/style-spec-overrides-v8.json
@@ -1,4 +1,10 @@
{
+ "light-cocoa-doc": "An `MGLLight` object represents the light source for extruded geometries in `MGLStyle`.",
+ "light": {
+ "position": {
+ "doc": "Position of the `MGLLight` source relative to lit (extruded) geometries, in a `MGLSphericalPosition` struct [radial coordinate, azimuthal angle, polar angle] where radial indicates the distance from the center of the base of an object to its light, azimuthal indicates the position of the light relative to 0° (0° when `MGLLight.anchor` is set to `MGLLightAnchorViewport` corresponds to the top of the viewport, or 0° when `MGLLight.anchor` is set to `MGLLightAnchorMap` corresponds to due north, and degrees proceed clockwise), and polar indicates the height of the light (from 0°, directly above, to 180°, directly below)."
+ }
+ },
"layer": {
"type": {
"values": {