dotskapes / wigglemaps

Dynamic, interactive maps for the web
Other
6 stars 1 forks source link

Add support for multiple maps on one page #5

Closed zack-krejci closed 12 years ago

zack-krejci commented 12 years ago

Requires significant restructuring. Must pass shader down to Layer somehow, maybe in draw stage? Or maybe it should request one?

zack-krejci commented 12 years ago

Too many significant engineering obstacles to implement this. Issue derives from WebGLBuffers not being able to share resources across Contexts, meaning we need a set of shaders for each map, which is nontrivial since layers can be created without specifying a map. Probably would still attempt it, but resource sharing for WebGL is already proposed, so the issue will probably fix itself in the future