mapbox/mapbox-studio — pull request #675 by samanpwbb (2014-08-19 21:24:20+00:00)
Title: Save bookmarks to project yml

Follow up to https://github.com/mapbox/mapbox-studio/pull/661

Saves projects to config file. Looks like this (with a single entry). Modelled after https://github.com/mapbox/gazetteer

``` yaml
_prefs:
bookmarks:
- center:
- 32.06395559466043
- -99.140625
place_name: Cross Plains, 76443, Texas, United States
zoom: 4
- center:
- 50.20854899229104
- -104.5184326171875
place_name: Saskatchewan, Canada
zoom: 7
saveCenter: true
_properties:
bridge:
"group-by": layer
attribution: "© Mapbox © OpenStreetMap Improve this map"
bounds:
- -180
- -85.0511
- 180
- 85.0511
center:
- -104.5184326171875
- 50.20854899229104
- 7
description: ''
format: jpeg95
interactivity_layer: ''
layers: null
maxzoom: 22
minzoom: 0
name: Satellite Afternoon
source: "mapbox:///mapbox.satellite,mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5"
styles:
- style.mss
- labels.mss
template: ''
```