Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Mobile
react-native-thinknet-mapbox-gl
Commits
893c5dff
Commit
893c5dff
authored
7 years ago
by
Antonio Zugaldia
Committed by
GitHub
7 years ago
1
Browse files
Options
Download
Plain Diff
Merge pull request #548 from carocad/patch-1
fix: api cosmetic changes
parents
ceba710a
bcc3efe1
devPinyo
5.2.1
5.2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
API.md
+4
-4
API.md
with
4 additions
and
4 deletions
+4
-4
API.md
+
4
−
4
View file @
893c5dff
...
...
@@ -255,7 +255,7 @@ mapbox://styles/bobbysud/cigtw1pzy0000aam2346f7ex0
```
javascript
[{
coordinates
,
// required. For type polyline and polygon must be an array of arrays. For type point,
single array with 2 coordinates
coordinates
,
// required. For type polyline and polygon must be an array of arrays. For type point,
array as [latitude longitude]
type
,
// required. One of 'point', 'polyline' or 'polygon'
title
,
// optional. Title string. Appears when marker pressed
subtitle
,
// optional. Subtitle string. Appears when marker pressed
...
...
@@ -352,9 +352,9 @@ The children of the `MapView` must be `Annotation` views: `import {Annotation} f
The
`Annotation`
view has the following required props:
| Prop | Type | Description |
|
---|---|---|---|
---|
|
`id`
|
`string`
| Unique identifier for the annotation. |
|
`coordinate`
|
``
`{latitude: number, longitude: number}`
``
| Location of the annotation. |
|
--- | --- |
---
|
|
`id`
|
`string`
| Unique identifier for the annotation. |
|
`coordinate`
|
`{latitude: number, longitude: number}`
| Location of the annotation. |
###### Known Bugs
...
...
This diff is collapsed.
Click to expand it.
Pinyo Chanchaisomphob (โย)
@pinyo
mentioned in commit
8ece9baa
·
7 years ago
mentioned in commit
8ece9baa
mentioned in commit 8ece9baae06d7582b3cd44a435fceea99ef33be3
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets