Real world sizes NOT WORKING for 2D svg path

310
3
08-02-2021 11:57 PM
MichaelK1
New Contributor

I'm using these settings for real world sized svgs or cim symbols

{
type: 'size',
axis: 'width',
field: 'width',
valueUnit: 'meters',
},
{
type: 'size',
axis: 'depth',
field: 'length',
valueUnit: 'meters',
},

 But it's not working for 2D?

Is there an alternative?

Thanks

0 Kudos
3 Replies
JohnGrayson
Esri Regular Contributor

Do you have a very simple codepen (or similar) showing the issue?

0 Kudos
MichaelK1
New Contributor

I don't have a codepen but the issue is quite clear

I want to display an image or simple marker with height /length and width properties. Not only 'size' 
Like 3DObject for displaying real sized assets

0 Kudos
JohnGrayson
Esri Regular Contributor

Hard to tell what could be going on with the data/symbol/code unless we can experience your specific issue.  Here's the doc in case there's something in there that might help: RealWorldSize and a sample (with Codepen you might be able to fork/modify to your data/symbol)  Also, according to the doc, for CIM symbols "...the size value is only applied to the largest symbol layer instead of the full symbol. All other symbol layers will scale proportionally."

0 Kudos