I am new to webgl.
Going through this example , I see how tessellateExtent is working.
I have a lat long with in this extent.
I want to convert a map point (lat,long) to a texcoord , so that I can use it in my webgl shaders.
I am not sure how to convert.
Going through the documentation , I see we need to convert from map point (lat,long ) - > pixel -> clipspace -> texcoord . Correct me if I am wrong.
Could you provide a code example for this case ?