Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Update readme.md for ownPositionMarker #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ A typical example is shown below:
| mapMarkers | optional | MapMarker array | An array of map markers |
| mapShapes | optional | MapShape[] | An array of map shapes |
| mapCenterPosition | optional | {lat: [Lat], lng: [Lng]} object | The center position of the map. This coordinate will not be accurate if the map has been moved manually. However, calling the map's setMapCenterPosition function will cause the map to revert to this location |
| ownPositionMarker | optional | Marker | A special marker that has an ID of OWN_POSTION_MARKER_ID | |
| ownPositionMarker | optional | OwnPositionMarker | A special marker that has an ID of OWN_POSTION_MARKER_ID | |
| zoom | optional | number | Desired zoom value of the map |

### Example Marker

```javascript
ownPositionMarker={{
id: '1',
coords: {lat: 36.00, lng, -76.00},
position: {lat: 36.00, lng, -76.00},
icon: "❤️",
size: [24, 24],
animation: {
name: AnimationType.BOUNCE,
duration: ".5",
type: AnimationType.BOUNCE,
duration: 0.5,
delay: 0,
interationCount: INFINITE_ANIMATION_ITERATIONS
iterationCount: INFINITE_ANIMATION_ITERATIONS
}
}}
```
Expand Down