Select to view content in your preferred language

4.29 - Image scaling vs CIM symbol

474
0
03-12-2024 07:46 AM
michaelkdev
Regular Contributor

HI. I'm using a CIM symbol to visualise a PictureMarker with SCALE X and visualVariables SIZE + ROTATION. The image is not displayed like it should when zooming in and out. (Scaling issue - aliasing)

Codepen: https://codepen.io/michaelk95/pen/JjVXaOE

Even If I use an SVG image the borders of the image are still not straight. SVGs should be okay?

michaelkdev_0-1710254267955.png

 

michaelkdev_4-1710254473136.png

 

 
 

When using the CIM symbol builder SVG to markerGraphics: https://esri.github.io/cim-symbol-builder-js/ . I'm getting a VectorMarker but It's not possible to use ScaleX (for real world size scaling width vs lenght).

https://codepen.io/michaelk95/pen/MWxrBxe

Can someone explain the anti aliasing used by CIM / ArcGis + Why its not possible to use an SVG + When using CIM symbols (made by SVG) how to scaleX them.

Thanks !

 

Gr M

 

 

0 Kudos
0 Replies