Skip to content

Commit

Permalink
Update docs from maps rnmapbox/maps@12946ef
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 6, 2023
1 parent 0052174 commit b777319
Show file tree
Hide file tree
Showing 40 changed files with 16 additions and 56 deletions.
1 change: 0 additions & 1 deletion docs/components/Annotation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Annotation.tsx
---
<!-- This file was autogenerated from Annotation.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/Atmosphere.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Atmosphere.tsx
---
<!-- This file was autogenerated from Atmosphere.tsx do not modify -->

Mapbox spec: [atmosphere](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#atmosphere)

Expand Down
1 change: 0 additions & 1 deletion docs/components/BackgroundLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/BackgroundLayer.tsx
---
<!-- This file was autogenerated from BackgroundLayer.tsx do not modify -->

Mapbox spec: [background](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#background)

Expand Down
1 change: 0 additions & 1 deletion docs/components/Callout.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Callout.tsx
---
<!-- This file was autogenerated from Callout.tsx do not modify -->



Expand Down
3 changes: 1 addition & 2 deletions docs/components/Camera.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Camera.tsx
---
<!-- This file was autogenerated from Camera.tsx do not modify -->



Expand Down Expand Up @@ -253,7 +252,7 @@ configuration. (Not yet implemented.)
func
```
Executes when user tracking mode changes.
@deprecated use Viewport#onStatusChanged instead.
**DEPRECATED** use Viewport#onStatusChanged instead.
*signature:*`(event:MapboxGLEvent) =&gt; void`
Expand Down
1 change: 0 additions & 1 deletion docs/components/CircleLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/CircleLayer.tsx
---
<!-- This file was autogenerated from CircleLayer.tsx do not modify -->

Mapbox spec: [circle](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#circle)

Expand Down
1 change: 0 additions & 1 deletion docs/components/CustomLocationProvider.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/CustomLocationProvider.tsx
---
<!-- This file was autogenerated from CustomLocationProvider.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/FillExtrusionLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/FillExtrusionLayer.tsx
---
<!-- This file was autogenerated from FillExtrusionLayer.tsx do not modify -->

Mapbox spec: [fill-extrusion](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#fill-extrusion)

Expand Down
1 change: 0 additions & 1 deletion docs/components/FillLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/FillLayer.tsx
---
<!-- This file was autogenerated from FillLayer.tsx do not modify -->

Mapbox spec: [fill](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#fill)

Expand Down
1 change: 0 additions & 1 deletion docs/components/HeadingIndicator.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/HeadingIndicator.tsx
---
<!-- This file was autogenerated from HeadingIndicator.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/HeatmapLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/HeatmapLayer.tsx
---
<!-- This file was autogenerated from HeatmapLayer.tsx do not modify -->

Mapbox spec: [heatmap](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#heatmap)

Expand Down
1 change: 0 additions & 1 deletion docs/components/Image.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Image.tsx
---
<!-- This file was autogenerated from Image.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/ImageSource.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/ImageSource.tsx
---
<!-- This file was autogenerated from ImageSource.tsx do not modify -->



Expand Down
3 changes: 1 addition & 2 deletions docs/components/Images.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Images.tsx
---
<!-- This file was autogenerated from Images.tsx do not modify -->



Expand All @@ -25,7 +24,7 @@ type Images = {
```
Specifies the external images in key-value pairs required for the shape source.
Keys are names - see iconImage expressions, values can be either urls-s objects
with format {uri: 'http://...'}` or `require('image.png')` or `import 'image.png'`
with format `{uri: 'http://...'}` or `require('image.png')` or `import 'image.png'`
Expand Down
1 change: 0 additions & 1 deletion docs/components/Light.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Light.tsx
---
<!-- This file was autogenerated from Light.tsx do not modify -->

Mapbox spec: [light](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#light)

Expand Down
1 change: 0 additions & 1 deletion docs/components/LineLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/LineLayer.tsx
---
<!-- This file was autogenerated from LineLayer.tsx do not modify -->

Mapbox spec: [line](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#line)

Expand Down
1 change: 0 additions & 1 deletion docs/components/LocationPuck.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/LocationPuck.tsx
---
<!-- This file was autogenerated from LocationPuck.tsx do not modify -->



Expand Down
11 changes: 5 additions & 6 deletions docs/components/MapView.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/MapView.tsx
---
<!-- This file was autogenerated from MapView.tsx do not modify -->



Expand Down Expand Up @@ -273,7 +272,7 @@ when embedded into a scroll view
| true
```
[`mapbox` (v10) implementation only]
Set map's label locale, e.g. { "locale": "es" } will localize labels to Spanish, { "locale": "current" } will localize labels to system locale.
Set map's label locale, e.g. `{ "locale": "es" }` will localize labels to Spanish, `{ "locale": "current" }` will localize labels to system locale.
[Localize Labels](../examples/Map/LocalizeLabels)
Expand Down Expand Up @@ -335,7 +334,7 @@ func

This event is triggered whenever the currently displayed map region is about to change.

@param {PointFeature} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
- `feature`: `PointFeature` - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
*signature:*`(feature:GeoJSON.Feature) =&gt; void`

[Show Region Did Change](../examples/Map/ShowRegionDidChange)
Expand All @@ -347,7 +346,7 @@ func
```
This event is triggered whenever the currently displayed map region is changing.

@param {PointFeature} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
- `feature`: `PointFeature` - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
*signature:*`(feature:GeoJSON.Feature) =&gt; void`

[Show Region Did Change](../examples/Map/ShowRegionDidChange)
Expand All @@ -359,7 +358,7 @@ func
```
This event is triggered whenever the currently displayed map region finished changing.

@param {PointFeature} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
- `feature`: `PointFeature` - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
*signature:*`(feature:GeoJSON.Feature) =&gt; void`

[Show Region Did Change](../examples/Map/ShowRegionDidChange)
Expand Down Expand Up @@ -410,7 +409,7 @@ This is triggered when the map has successfully loaded a new map style.
func
```
This event is triggered when the map has failed to load a new map style. On v10 it's deprecated and replaced by onMapLoadingError
@deprecated use onMapLoadingError
**DEPRECATED** use onMapLoadingError
*signature:*`() =&gt; void`


Expand Down
1 change: 0 additions & 1 deletion docs/components/MarkerView.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/MarkerView.tsx
---
<!-- This file was autogenerated from MarkerView.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/ModelLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/ModelLayer.tsx
---
<!-- This file was autogenerated from ModelLayer.tsx do not modify -->

Mapbox spec: [model](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#model)

Expand Down
1 change: 0 additions & 1 deletion docs/components/Models.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Models.tsx
---
<!-- This file was autogenerated from Models.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/PointAnnotation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/PointAnnotation.tsx
---
<!-- This file was autogenerated from PointAnnotation.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/RasterDemSource.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/RasterDemSource.tsx
---
<!-- This file was autogenerated from RasterDemSource.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/RasterLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/RasterLayer.tsx
---
<!-- This file was autogenerated from RasterLayer.tsx do not modify -->

Mapbox spec: [raster](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#raster)

Expand Down
1 change: 0 additions & 1 deletion docs/components/RasterSource.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/RasterSource.tsx
---
<!-- This file was autogenerated from RasterSource.tsx do not modify -->



Expand Down
9 changes: 4 additions & 5 deletions docs/components/ShapeSource.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/ShapeSource.tsx
---
<!-- This file was autogenerated from ShapeSource.tsx do not modify -->



Expand Down Expand Up @@ -159,10 +158,10 @@ func
Source press listener, gets called when a user presses one of the children layers only
if that layer has a higher z-index than another source layers

@param {Object} event
@param {Object[]} event.features - the geojson features that have hit by the press (might be multiple)
@param {Object} event.coordinates - the coordinates of the click
@param {Object} event.point - the point of the click
- `event`: `Object`
- `event.features`: `Object[]` - the geojson features that have hit by the press (might be multiple)
- `event.coordinates`: `Object` - the coordinates of the click
- `event.point`: `Object` - the point of the click
@return void
*signature:*`(event:OnPressEvent) =&gt; void`

Expand Down
1 change: 0 additions & 1 deletion docs/components/SkyLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/SkyLayer.tsx
---
<!-- This file was autogenerated from SkyLayer.tsx do not modify -->

Mapbox spec: [sky](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#sky)

Expand Down
1 change: 0 additions & 1 deletion docs/components/Style.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Style.tsx
---
<!-- This file was autogenerated from Style.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/StyleImport.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/StyleImport.tsx
---
<!-- This file was autogenerated from StyleImport.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/SymbolLayer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/SymbolLayer.tsx
---
<!-- This file was autogenerated from SymbolLayer.tsx do not modify -->

Mapbox spec: [symbol](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#symbol)

Expand Down
1 change: 0 additions & 1 deletion docs/components/Terrain.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Terrain.tsx
---
<!-- This file was autogenerated from Terrain.tsx do not modify -->

Mapbox spec: [terrain](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#terrain)

Expand Down
3 changes: 1 addition & 2 deletions docs/components/UserLocation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/UserLocation.tsx
---
<!-- This file was autogenerated from UserLocation.tsx do not modify -->



Expand Down Expand Up @@ -129,7 +128,7 @@ Whether location icon is visible


## methods
### setLocationManager({ running }: { running?: boolean })
### setLocationManager(&#123; running &#125;: &#123; running?: boolean &#125;)

Whether to start or stop listening to the locationManager<br/><br/>Notice, that listening will start automatically when<br/>either `onUpdate` or `visible` are set

Expand Down
9 changes: 4 additions & 5 deletions docs/components/VectorSource.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/VectorSource.tsx
---
<!-- This file was autogenerated from VectorSource.tsx do not modify -->



Expand Down Expand Up @@ -104,10 +103,10 @@ func
Source press listener, gets called when a user presses one of the children layers only
if that layer has a higher z-index than another source layers

@param {Object} event
@param {Object[]} event.features - the geojson features that have hit by the press (might be multiple)
@param {Object} event.coordinates - the coordinates of the click
@param {Object} event.point - the point of the click
- `event`: `Object`
- `event.features`: `Object[]` - the geojson features that have hit by the press (might be multiple)
- `event.coordinates`: `Object` - the coordinates of the click
- `event.point`: `Object` - the point of the click
*signature:*`(event:OnPressEvent) =&gt; void`


Expand Down
1 change: 0 additions & 1 deletion docs/components/Viewport.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/components/Viewport.tsx
---
<!-- This file was autogenerated from Viewport.tsx do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/coordinates.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/modules/location/locationManager.ts
---
<!-- This file was autogenerated from locationManager.ts do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/location.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/modules/location/locationManager.ts
---
<!-- This file was autogenerated from locationManager.ts do not modify -->



Expand Down
1 change: 0 additions & 1 deletion docs/components/locationManager.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
custom_edit_url: https://github.com/rnmapbox/maps/blob/main/src/modules/location/locationManager.ts
---
<!-- This file was autogenerated from locationManager.ts do not modify -->



Expand Down
Loading

0 comments on commit b777319

Please sign in to comment.