AnsweredAssumed Answered

symbol size not working when using path 4.x

Question asked by bflessner on Feb 13, 2017
Latest reply on Feb 13, 2017 by bflessner

Setting a SimpleMarkerSymbol size does not work when using a path. To see this go to this sample: ArcGIS API for JavaScript Sandbox  and change the citiesRenderer to:

var citiesRenderer = new SimpleRenderer({
          symbol: new SimpleMarkerSymbol({
            size: "10pt",
            style: 'path',
            path: 'M2,32.578V91l29.719-29.774L61.437,91V32.578L31.719,3L2,32.578z',
            color: "#FF4000",
            outline: { // autocasts as new SimpleLineSymbol()
              color: [255, 64, 0, 0.4], // autocasts as new Color()
              width: 7
            }
          })
        });

The symbol stays the same size no matter if you put size: 10, size:"100px", size: "2pt" etc. So is there any way to change the size of the path symbol?

 

Thanks in advance

Outcomes