Upgrade to v0.30

This commit is contained in:
Lukas Martinelli 2017-01-10 17:26:57 +01:00
parent 9fd5850d6e
commit d6e97c9b80
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ Green | `#76a723`
**Modify Icons** **Modify Icons**
1. Take the style JSON file and upload it to the [Maki Editor](). 1. Take the `iconset.json` and upload it to the [Maki Editor]https://www.mapbox.com/maki-icons/#editor().
2. Apply your changes and download the fonts and icon set again. 2. Apply your changes and download the fonts and icon set again.
3. Ensure you format the JSON first with `cat iconset.json | jq -MS '.'` 3. Ensure you format the JSON first with `cat iconset.json | jq -MS '.'`
4. Install [spritezero](https://github.com/mapbox/spritezero) `npm install spritezero-cli` 4. Install [spritezero](https://github.com/mapbox/spritezero) `npm install spritezero-cli`

View File

@ -10,8 +10,8 @@
#map { position:absolute; top:0; bottom:0; width:100%; } #map { position:absolute; top:0; bottom:0; width:100%; }
#github-button { position: absolute; top: 15px; left: 15px; z-index: 1000; } #github-button { position: absolute; top: 15px; left: 15px; z-index: 1000; }
</style> </style>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.js'></script> <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.30.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.css' rel='stylesheet' /> <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.30.0/mapbox-gl.css' rel='stylesheet' />
</head> </head>
<body> <body>
<iframe id="github-button" src="https://ghbtns.com/github-btn.html?user=lukasmartinelli&repo=osm-liberty&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe id="github-button" src="https://ghbtns.com/github-btn.html?user=lukasmartinelli&repo=osm-liberty&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>