-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make it easy to generate tile.json #38
Comments
This is definitely a good idea (and shouldn't be too hard). Do you know if the format changed at all between Wax and Mapbox.js? I have not reexamined it since that release. There might be changes to UTFGrid, too. |
One thing to keep in mind with the tilejson+utfgrids is that the interaction-layer transformation is done with handlebars...embedded in json. Which becomes non-trivial for automatically generating popovers, legends, etc. for an arbitrary dataset. Furthermore, the presentation is tightly coupled to external CSS and JS. Which isn't a reason not to do it. But is context around my dallying on it. On Mon, May 13, 2013 at 8:07 AM, Rob Brackett [email protected]
|
Hmm, like the helpers for routes, this probably doesn't really belong in core, but we have no better place for it at the moment. We should try and write it as loosely coupled to anything in core as possible.
Yeah, I'm not sure we should even attempt to tackle that part. It should be provided by the user. There's still a lot of boilerplate we can take care of, though. |
Not a huge deal (the file format is pretty simple), but it would be nice if nodetiles automatically generated an appropriate tile.json for each tileset. Maybe have pass in the relevant properties when creating the map in an
options
object?The text was updated successfully, but these errors were encountered: