Skip to content

Commit

Permalink
Add setData method for geojson sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhahn committed Jul 11, 2014
1 parent acde540 commit 8e0ad61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ Option | Description
------ | ------
`data` | A GeoJSON data object

### Methods

Method | Description
------ | ------
`setData(data)` | Update source geojson data and rerender map

## new mapboxgl.VideoSource(options)

``` js
Expand Down

0 comments on commit 8e0ad61

Please sign in to comment.