Commit 893c5dff authored by Antonio Zugaldia's avatar Antonio Zugaldia Committed by GitHub
Browse files

Merge pull request #548 from carocad/patch-1

fix: api cosmetic changes
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment