Skip to content

Can't get plugin to work w/ non-MapBox TileJSON file #11

@jameslaneconkling

Description

@jameslaneconkling

Been trying to get this plugin to work w/ my own TileJSON reference but am getting the following error:

[tilemill] Client Error: Script error.
[tilemill]     at :0
[tilemill] Client Error: TypeError: 'undefined' is not an object (evaluating 'a.tiles')
[tilemill]     at http://127.0.0.1:20009/assets/tilemill/js/vendor.js:5164

My TileJSON definition is hosted here, which is CORS supported.

I did have luck using the TileJSON url w/ mapbox.js, so I don't think it's an error w/ the definition. And the plugin did work with a MapBox TileJSON url (tried with this). Any thoughts?

Really useful plugin--allows me to style transparent data overlay layers on top of my base layer w/o having to define the whole baselayer w/i the data overlay project. Thanks.

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