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

Why are IDs necessary? #9

Open
tommedema opened this issue Feb 9, 2014 · 0 comments
Open

Why are IDs necessary? #9

tommedema opened this issue Feb 9, 2014 · 0 comments

Comments

@tommedema
Copy link

Without any proper documentation I find it hard to create a minimalist implementation of TilesJS.

My goal is to create an infinitely scrolling grid, where more tiles appear when the user scrolls down. At any point in time there should be a predefined number of tiles visible on the user's viewport (e.g. 5 tiles), where each tile is sized depending on it's importance. E.g. there may be 1 huge important tile, 1 mediumly sized important tile, and 3 normally sized tiles.

The requirement to specify a fixed number of IDs per tile does not play well with this. Why is this necessary? Could you perhaps lead me in the right direction on achieving my goal?

So far I've come up with the following minimalist approach, but it is still dependent on a fixed number of IDs: http://jsfiddle.net/tommedema/GZn8g/2/

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