Skip to content

Commit

Permalink
Deploy to Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenMapTiles Travis committed May 1, 2020
0 parents commit f24a6f9
Show file tree
Hide file tree
Showing 13 changed files with 4,906 additions and 0 deletions.
28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>GL Style Package Preview</title>
<link rel="stylesheet" type="text/css" href="https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.css" />
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v1.5.0/mapbox-gl.js"></script>
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<div id='map'></div>
<script>
mapboxgl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.0/mapbox-gl-rtl-text.js');
var map = new mapboxgl.Map({
container: 'map',
style: 'style-cdn.json',
attributionControl: true,
hash: true
});
map.addControl(new mapboxgl.NavigationControl());
</script>
</body>
</html>
Empty file added preview/preview-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added preview/preview-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added preview/preview-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added preview/preview-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added preview/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions sprite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"cross-t": {
"height": 27,
"pixelRatio": 1,
"width": 23,
"x": 119,
"y": 0
},
"dash-t": {
"height": 3,
"pixelRatio": 1,
"width": 1,
"x": 165,
"y": 0
},
"dots-t": {
"height": 119,
"pixelRatio": 1,
"width": 119,
"x": 0,
"y": 0
},
"hatch-t": {
"height": 23,
"pixelRatio": 1,
"width": 23,
"x": 142,
"y": 0
}
}
Binary file added sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"cross-t": {
"height": 54,
"pixelRatio": 2,
"width": 46,
"x": 238,
"y": 0
},
"dash-t": {
"height": 6,
"pixelRatio": 2,
"width": 3,
"x": 330,
"y": 0
},
"dots-t": {
"height": 238,
"pixelRatio": 2,
"width": 238,
"x": 0,
"y": 0
},
"hatch-t": {
"height": 46,
"pixelRatio": 2,
"width": 46,
"x": 284,
"y": 0
}
}
Binary file added [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f24a6f9

Please sign in to comment.