tegola icon indicating copy to clipboard operation
tegola copied to clipboard

is tutorial up to date ?

Open sebdiem opened this issue 7 years ago • 2 comments

I tried to follow the tutorial https://tegola.io/tutorials/tegola-with-mapbox/ but I did not manage to visualize the Bonn tiles with mapbox-gl js.

The map is displayed in the browser and queries are made to my tegola backend, which makes SQL requests to my database and returns 200 HTTP responses to the browser but the layers are not visible on the map. This is an example tile returned by tegola (base64 encoded) : GgsKBHJvYWQogCB4AhoRCgptYWluX3JvYWRzKIAgeAIaDAoFbGFrZXMogCB4Ag== It seems correct because I see my three layers in it

Chrome 70.0.3538.110 Firefox 63.0.3 mapbox v0.42.2

Did I miss anything ? Sorry I know that my issue description is pretty vague but I'll be happy to share some more details if needed.

Thank you for your help !

sebdiem avatar Dec 12 '18 15:12 sebdiem

@sebdiem I just accepted a PR from @Phyks that should address your issues. Take a look at the srid value in the commit: https://github.com/go-spatial/tegola-docs/pull/30/files

ARolek avatar Dec 14 '18 22:12 ARolek

OpenLayers tutorial should be updated too

capan avatar Jan 23 '19 22:01 capan