Closed ivanKyka closed 2 years ago
I think that problem is caused by PointConversion util. That utility is created from pixelHeight, pixelWidth and bbox. Maybe I pass the wrong params into the method call?
Found it! PixelWidth and PixelHeight must be proportional to bbox width and height
Glad you found it! Sorry I didn't get a chance to look into it. Generally pixel width and height should match the pixel width and height of the map window but keeping it proportional to the bbox should probably work as well https://github.com/missioncommand/mil-sym-js/wiki/Developer%27s-Guide#3317pixelwidth--pixelheight-for-2d
Maybe should write comments into samples? It will help for next users. Upd: Found it into docs! Thanks
Hi, @michael-spinelli ! I'm still working on migrating my application to web workers. When I check graphics, I found a few cases of incorrect rendering. I didn't find the source of the problem, but I think that is related to bbox which I pass into params
Expected result
The current result which I have:
Params which I pass into
sec.web.renderer.SECWebRenderer.RenderSymbol2D
: