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

geojson-vt integration #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wilg
Copy link
Contributor

@wilg wilg commented Jun 7, 2016

A couple gotchas I could use some help with:

  • A setTimeout is required because the map layer seems to require the tile fetch to be asynchronous lest I get a typeof this._tiles[canvasId] === 'undefined' when zooming and panning around.
  • Does more manipulation of data than is necessary to get the vector tile to load with new VectorTile()

closes #37

@kentr
Copy link

kentr commented Sep 3, 2016

@wilg For the async problem, did you look at mimicking the XMLHttpRequest load event system?

@wilg
Copy link
Contributor Author

wilg commented Sep 3, 2016

@kentr Not sure exactly what you're envisioning?

@kentr
Copy link

kentr commented Sep 22, 2016

@wilg Nevermind.

I was thinking maybe the async problem could be solved by a something like a promise or subscribe / emit, but I dug into it and saw that there's more going on.

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

Successfully merging this pull request may close these issues.

How about dynamically generated GeoJSON-VT vector tiles?
2 participants