Skip to content

Instantly share code, notes, and snippets.

View trasch's full-sized avatar

Thomas Rasch trasch

  • Outdooractive
  • Immenstadt, Germany
View GitHub Profile
@trasch
trasch / static_map.js
Created April 7, 2016 14:45
Demonstrates that rendering a map tile with GeoJSON doesn't work for zoom levels >= 15
#!/usr/bin/env node
"use strict";
var mbgl = require('mapbox-gl-native'),
request = require('request'),
sharp = require('sharp');
var map = new mbgl.Map({
ratio: 1.0,
request: function(req, callback) {
### Keybase proof
I hereby claim:
* I am trasch on github.
* I am trasch (https://keybase.io/trasch) on keybase.
* I have a public key whose fingerprint is B7B6 6C78 FFFA 0DA3 F201 2D29 2EFF 5987 535B C461
To claim this, I am signing this object: