Skip to content

GL() without style on local fs #7

@frodrigo

Description

@frodrigo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions