Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disambiguate between URL templates and TileJSON sources #2

Closed
mojodna opened this issue Jan 25, 2014 · 2 comments
Closed

Disambiguate between URL templates and TileJSON sources #2

mojodna opened this issue Jan 25, 2014 · 2 comments

Comments

@mojodna
Copy link
Owner

mojodna commented Jan 25, 2014

node-tilejson should be used for TileJSON sources (mojodna's fork includes support for tilejson+http:, etc. protocols).

If prefixing the transport with tilejson+ isn't preferable, this module can distinguish between a URL template and a TileJSON URL by assuming that non-templatized URLs (i.e. not containing {z}, {x}, {y}) will return TileJSON.

@mojodna
Copy link
Owner Author

mojodna commented Feb 26, 2014

(The primary reason for this is to allow tessera and TM2 to use the same project.yml for styles using HTTP-accessible data sources.)

@mojodna mojodna closed this as completed in 2d1c09f May 8, 2014
@elwino-cof
Copy link

I'm trying to use a Mapzen vector tiles source in my TM2 project.yml with Tessera (replacing mapbox streets vector tiles). Looks like the vector tiles are loaded properly from Mapzen server, but the raster images are empty. No error messages. Any tips or guidance would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants