Skip to content

Commit

Permalink
implemented http request context & removed http.CloseNotifier. Bumped…
Browse files Browse the repository at this point in the history
… required Go version to 1.8+ in readme.
  • Loading branch information
ARolek committed May 30, 2017
1 parent 1aeaf4d commit 3fcad40
Show file tree
Hide file tree
Showing 8 changed files with 3,741 additions and 36 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ The requested tile will be encode a layer with the `name` value set to `debug` a

## Building from source

Tegola is written in [Go](https://golang.org/) and requires Go 1.7+ to compile from source. To build tegola from source, make sure you have Go installed and have cloned the repository to your `$GOPATH` or `$GOROOT`. Navigate to the repository then run the following commands:
Tegola is written in [Go](https://golang.org/) and requires Go 1.8+ to compile from source. To build tegola from source, make sure you have Go installed and have cloned the repository to your `$GOPATH` or `$GOROOT`. Navigate to the repository then run the following commands:

```bash
cd cmd/tegola/
Expand Down
28 changes: 28 additions & 0 deletions cmd/tegola/static/bonn/mapbox/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Tegola Mapbox Demo</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
#github-button { position: absolute; top: 15px; left: 15px; z-index: 1000; }
</style>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.29.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.29.0/mapbox-gl.css' rel='stylesheet' />
</head>
<body>
<div id='map'></div>
<script>
var map = new mapboxgl.Map({
container: 'map',
style: 'js/mapbox.json',
center: [7.0959527, 50.71463],
zoom: 15,
hash: true
});
map.addControl(new mapboxgl.NavigationControl());
</script>
</body>
</html>
Loading

0 comments on commit 3fcad40

Please sign in to comment.