Skip to content

Commit

Permalink
Add API url example image to readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhcole committed May 14, 2012
1 parent 0e80dc4 commit 2b6cff6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ var main = Map('map', {

The map options object can take several options:

- `api` The MapBox API URL
- `api` The MapBox API URL from the `embed` button on your map:
![](http://mapbox.com/images/hosting/embedding-4.png)
- `center` An object of `{ lat: ##, lon: ##, zoom: ## }` that defines the map's initial view. If not is provided, the default center set from MapBox will be used
- `zoomRange` An array of `[##, ##]` where the first element is the minimum zoom level and the second is the max
- `features` An array of additional features for the map
Expand Down

0 comments on commit 2b6cff6

Please sign in to comment.