Skip to content

geojson-vt integration#65

Open
wilg wants to merge 4 commits into
SpatialServer:masterfrom
wilg:on-the-fly-slicing
Open

geojson-vt integration#65
wilg wants to merge 4 commits into
SpatialServer:masterfrom
wilg:on-the-fly-slicing

Conversation

@wilg

@wilg wilg commented Jun 7, 2016

Copy link
Copy Markdown
Contributor

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

kentr commented Sep 3, 2016

Copy link
Copy Markdown

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

@wilg

wilg commented Sep 3, 2016

Copy link
Copy Markdown
Contributor Author

@kentr Not sure exactly what you're envisioning?

@kentr

kentr commented Sep 22, 2016

Copy link
Copy Markdown

@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