Skip to content

Commit a7640f1

Browse files
Update docs from maps rnmapbox/maps@4e468fd
1 parent 8af59aa commit a7640f1

File tree

115 files changed

+1183
-1379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1183
-1379
lines changed

docs/components/BackgroundLayer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The source from which to obtain the data to style.
4444
If the source has not yet been added to the current style, the behavior is undefined.
4545
Inferred from parent source only if the layer is a direct child to it.
4646

47-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
47+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
4848

4949

5050
### sourceLayerID

docs/components/FillExtrusionLayer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The source from which to obtain the data to style.
4444
If the source has not yet been added to the current style, the behavior is undefined.
4545
Inferred from parent source only if the layer is a direct child to it.
4646

47-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
47+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
4848

4949

5050
### sourceLayerID

docs/components/RasterDemSource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ string
2222
```
2323
A string that uniquely identifies the source.
2424

25-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
25+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
2626

2727

2828
### existing

docs/components/RasterSource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ string
2424
```
2525
A string that uniquely identifies the source.
2626

27-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
27+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
2828

2929

3030
### existing

docs/components/ShapeSource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ string
2323
```
2424
A string that uniquely identifies the source.
2525

26-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
26+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
2727

2828

2929
### existing

docs/components/VectorSource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ string
2323
```
2424
A string that uniquely identifies the source.
2525

26-
_defaults to:_ `MapboxGL.StyleSource.DefaultSourceID`
26+
_defaults to:_ `Mapbox.StyleSource.DefaultSourceID`
2727

2828

2929
### existing

docs/examples/Annotations/CustomCallout.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ Use MarkerView to create a custom callout.
1010

1111

1212
```jsx
13+
import { useState } from 'react';
1314
import Mapbox, { type SymbolLayerStyle } from '@rnmapbox/maps';
15+
// @ts-ignore - @turf packages have type resolution issues with package.json exports
1416
import { Feature } from '@turf/helpers';
15-
import React, { useState } from 'react';
1617
import { StyleProp, Text, TextStyle, View, ViewStyle } from 'react-native';
1718

1819
import exampleIcon from '../../assets/pin.png';
0 Bytes
Loading
0 Bytes
Loading

docs/examples/Annotations/MarkerView.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const ShowMarkerView = () => {
7575
}}
7676
/>
7777

78-
<Mapbox.PointAnnotation coordinate={pointList[1]} id="pt-ann">
78+
<Mapbox.PointAnnotation coordinate={pointList[1]!} id="pt-ann">
7979
<AnnotationContent title={'this is a point annotation'} />
8080
</Mapbox.PointAnnotation>
8181

0 commit comments

Comments
 (0)