jmmluna / ol-map-screenshot

A simple and easy-to-use library to provide the OpenLayers map screenshot.
MIT License
13 stars 3 forks source link

Support for webgl layer #11

Open tarangrathod opened 3 years ago

tarangrathod commented 3 years ago

Hi was trying to print WebGLPointsLayer data but its not printing it. but i am able to print all vector layers

jmmluna commented 3 years ago

Hi, thank you for your issue. It seems interesting to me, I will check it as soon as possible.

tarangrathod commented 3 years ago

I inspected where we have webgl canvas on ui. It seems that webgl canvas always comes out of all the vector layers div and we need to blend two canvas after we fetch them, As fetching webgl layer comes with are different context option 'webgl'.