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

GL() without style on local fs #7

Open
frodrigo opened this issue Oct 28, 2019 · 0 comments
Open

GL() without style on local fs #7

frodrigo opened this issue Oct 28, 2019 · 0 comments

Comments

@frodrigo
Copy link

The current GL() function require the style to be on local fs. Could not be a object or a remote ressource:

function GL(uri, callback) {
  this._uri = uri.pathname;
  this._style = require(uri.pathname);

https://github.com/trailbehind/tilelive-gl/blob/master/index.js#L20-L22

The original tilelive-gl has a more flexible construction method.
https://github.com/cutting-room-floor/tilelive-gl/blob/master/index.js#L18-L20

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

1 participant