@rnmapbox/maps 10.0.0-beta.33 → 10.0.0-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/.eslintrc.js +2 -2
  2. package/.nvmrc +1 -1
  3. package/README-v10.md +1 -1
  4. package/README.md +31 -26
  5. package/android/install.md +1 -1
  6. package/android/rctmgl/build.gradle +1 -1
  7. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/RCTMGLPackage.java +8 -3
  8. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.kt +15 -6
  9. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.kt +40 -0
  10. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewWrapper.kt +8 -0
  11. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewWrapperManager.kt +21 -0
  12. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.kt +26 -1
  13. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTLayer.kt +5 -5
  14. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLModule.kt +1 -0
  15. package/docs/Annotation.md +8 -8
  16. package/docs/Annotations.md +14 -12
  17. package/docs/Atmosphere.md +76 -76
  18. package/docs/BackgroundLayer.md +44 -44
  19. package/docs/Callout.md +4 -4
  20. package/docs/Camera.md +124 -6
  21. package/docs/CircleLayer.md +129 -129
  22. package/docs/CustomHttpHeaders.md +12 -14
  23. package/docs/FillExtrusionLayer.md +120 -120
  24. package/docs/FillLayer.md +83 -83
  25. package/docs/HeadingIndicator.md +3 -3
  26. package/docs/HeatmapLayer.md +58 -58
  27. package/docs/ImageSource.md +4 -3
  28. package/docs/Images.md +3 -3
  29. package/docs/Light.md +45 -45
  30. package/docs/LineLayer.md +166 -166
  31. package/docs/Logger.md +8 -9
  32. package/docs/MapView.md +32 -32
  33. package/docs/MapboxGL.md +26 -27
  34. package/docs/MarkerView.md +11 -6
  35. package/docs/NativeUserLocation.md +3 -3
  36. package/docs/OfflineManager.md +35 -33
  37. package/docs/PointAnnotation.md +12 -6
  38. package/docs/RasterDemSource.md +3 -3
  39. package/docs/RasterLayer.md +99 -99
  40. package/docs/RasterSource.md +5 -3
  41. package/docs/ShapeSource.md +17 -16
  42. package/docs/SkyLayer.md +69 -69
  43. package/docs/Style.md +5 -3
  44. package/docs/StyleSheet.md +74 -278
  45. package/docs/SymbolLayer.md +454 -454
  46. package/docs/Terrain.md +6 -6
  47. package/docs/UserLocation.md +8 -8
  48. package/docs/VectorSource.md +9 -8
  49. package/docs/docs.json +196 -28
  50. package/docs/snapshotManager.md +7 -5
  51. package/index.d.ts +30 -26
  52. package/ios/RCTMGL-v10/RCTMGLCamera.swift +14 -5
  53. package/ios/RCTMGL-v10/RCTMGLMarkerView.swift +28 -14
  54. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapper.swift +24 -0
  55. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.m +8 -0
  56. package/ios/RCTMGL-v10/RCTMGLMarkerViewWrapperManager.swift +14 -0
  57. package/ios/install.md +25 -14
  58. package/javascript/{utils/animated → classes}/AnimatedCoordinatesArray.js +1 -1
  59. package/javascript/{utils/animated → classes}/AnimatedExtractCoordinateFromArray.js +3 -1
  60. package/javascript/{utils/animated → classes}/AnimatedPoint.js +0 -0
  61. package/javascript/{utils/animated → classes}/AnimatedRouteCoordinatesArray.js +3 -1
  62. package/javascript/{utils/animated → classes}/AnimatedShape.js +9 -3
  63. package/javascript/classes/index.d.ts +5 -0
  64. package/javascript/classes/index.js +5 -0
  65. package/javascript/components/Callout.js +1 -1
  66. package/javascript/components/Camera.tsx +5 -1
  67. package/javascript/components/Images.js +1 -1
  68. package/javascript/components/MapView.js +3 -4
  69. package/javascript/components/MarkerView.tsx +125 -0
  70. package/javascript/components/PointAnnotation.d.ts +13 -0
  71. package/javascript/components/RasterDemSource.js +1 -1
  72. package/javascript/components/RasterSource.js +1 -1
  73. package/javascript/components/ShapeSource.js +4 -4
  74. package/javascript/components/Style.js +1 -1
  75. package/javascript/components/annotations/Annotation.js +3 -3
  76. package/javascript/index.js +27 -14
  77. package/javascript/types/index.ts +1 -1
  78. package/javascript/utils/BridgeValue.ts +89 -0
  79. package/javascript/utils/StyleValue.ts +21 -10
  80. package/javascript/utils/animated/Animated.js +0 -11
  81. package/javascript/utils/deprecation.js +0 -1
  82. package/javascript/utils/geoUtils.d.ts +10 -0
  83. package/javascript/utils/index.d.ts +6 -0
  84. package/package.json +16 -13
  85. package/plugin/build/withMapbox.js +0 -2
  86. package/plugin/install.md +13 -6
  87. package/rnmapbox-maps.podspec +1 -1
  88. package/scripts/autogenHelpers/DocJSONBuilder.js +43 -4
  89. package/scripts/autogenHelpers/globals.js +0 -2
  90. package/scripts/autogenerate.js +1 -2
  91. package/scripts/templates/component.md.ejs +25 -25
  92. package/tsconfig.json +1 -1
  93. package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java +0 -45
  94. package/javascript/components/MarkerView.js +0 -91
  95. package/javascript/utils/BridgeValue.js +0 -81
package/docs/Light.md CHANGED
@@ -1,14 +1,14 @@
1
1
  <!-- This file was autogenerated from Light.js do not modify -->
2
- ## <MapboxGL.Light />
3
- ### Light represents the light source for extruded geometries
2
+ # <MapboxGL.Light />
3
+ Light represents the light source for extruded geometries
4
4
 
5
- ### props
5
+ ## props
6
6
  | Prop | Type | Default | Required | Description |
7
7
  | ---- | :--: | :-----: | :------: | :----------: |
8
8
  | style | `custom` | `none` | `false` | Customizable style attributes |
9
9
 
10
10
 
11
- ### styles
11
+ ## styles
12
12
 
13
13
  * <a href="#anchor">anchor</a><br/>
14
14
  * <a href="#position">position</a><br/>
@@ -17,143 +17,143 @@
17
17
 
18
18
  ___
19
19
 
20
- #### anchor
20
+ ### anchor
21
21
  Name: `anchor`
22
22
 
23
- #### Description
23
+ ### Description
24
24
  Whether extruded geometries are lit relative to the map or viewport.
25
25
 
26
- #### Type
26
+ ### Type
27
27
  `enum`
28
- #### Default Value
28
+ ### Default Value
29
29
  `viewport`
30
30
 
31
- #### Supported Values
31
+ ### Supported Values
32
32
  **map** - The position of the light source is aligned to the rotation of the map.<br />
33
33
  **viewport** - The position of the light source is aligned to the rotation of the viewport.<br />
34
34
 
35
35
 
36
- #### Expression
36
+ ### Expression
37
37
 
38
38
  Parameters: `zoom`
39
39
 
40
40
  ___
41
41
 
42
- #### position
42
+ ### position
43
43
  Name: `position`
44
44
 
45
- #### Description
45
+ ### Description
46
46
  Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
47
47
 
48
- #### Type
48
+ ### Type
49
49
  `array<number>`
50
- #### Default Value
50
+ ### Default Value
51
51
  `[1.15,210,30]`
52
52
 
53
53
 
54
- #### Expression
54
+ ### Expression
55
55
 
56
56
  Parameters: `zoom`
57
57
  ___
58
58
 
59
- #### Name
59
+ ### Name
60
60
 
61
61
  `positionTransition`
62
62
 
63
- #### Description
63
+ ### Description
64
64
 
65
- The transition affecting any changes to this layer’s position propery.
65
+ The transition affecting any changes to this layer’s position property.
66
66
 
67
- #### Type
67
+ ### Type
68
68
 
69
69
  `{ duration, delay }`
70
70
 
71
- #### Units
71
+ ### Units
72
72
  `milliseconds`
73
73
 
74
- #### Default Value
74
+ ### Default Value
75
75
  `{duration: 300, delay: 0}`
76
76
 
77
77
 
78
78
  ___
79
79
 
80
- #### color
80
+ ### color
81
81
  Name: `color`
82
82
 
83
- #### Description
83
+ ### Description
84
84
  Color tint for lighting extruded geometries.
85
85
 
86
- #### Type
86
+ ### Type
87
87
  `color`
88
- #### Default Value
88
+ ### Default Value
89
89
  `#ffffff`
90
90
 
91
91
 
92
- #### Expression
92
+ ### Expression
93
93
 
94
94
  Parameters: `zoom`
95
95
  ___
96
96
 
97
- #### Name
97
+ ### Name
98
98
 
99
99
  `colorTransition`
100
100
 
101
- #### Description
101
+ ### Description
102
102
 
103
- The transition affecting any changes to this layer’s color propery.
103
+ The transition affecting any changes to this layer’s color property.
104
104
 
105
- #### Type
105
+ ### Type
106
106
 
107
107
  `{ duration, delay }`
108
108
 
109
- #### Units
109
+ ### Units
110
110
  `milliseconds`
111
111
 
112
- #### Default Value
112
+ ### Default Value
113
113
  `{duration: 300, delay: 0}`
114
114
 
115
115
 
116
116
  ___
117
117
 
118
- #### intensity
118
+ ### intensity
119
119
  Name: `intensity`
120
120
 
121
- #### Description
121
+ ### Description
122
122
  Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
123
123
 
124
- #### Type
124
+ ### Type
125
125
  `number`
126
- #### Default Value
126
+ ### Default Value
127
127
  `0.5`
128
128
 
129
- #### Minimum
129
+ ### Minimum
130
130
  `0`
131
131
 
132
132
 
133
- #### Maximum
133
+ ### Maximum
134
134
  `1`
135
135
 
136
- #### Expression
136
+ ### Expression
137
137
 
138
138
  Parameters: `zoom`
139
139
  ___
140
140
 
141
- #### Name
141
+ ### Name
142
142
 
143
143
  `intensityTransition`
144
144
 
145
- #### Description
145
+ ### Description
146
146
 
147
- The transition affecting any changes to this layer’s intensity propery.
147
+ The transition affecting any changes to this layer’s intensity property.
148
148
 
149
- #### Type
149
+ ### Type
150
150
 
151
151
  `{ duration, delay }`
152
152
 
153
- #### Units
153
+ ### Units
154
154
  `milliseconds`
155
155
 
156
- #### Default Value
156
+ ### Default Value
157
157
  `{duration: 300, delay: 0}`
158
158
 
159
159