Hello
I have some code below:
var symbol = new esri.symbol.SimpleMarkerSymbol();
symbol.style = esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE;
symbol.setSize(8);
symbol.setColor(new dojo.Color([0,0,0,0.6]));
But I've found that the setSize method is very basic and it doesn't scale based on the zoom. i.e. when you zoom out, I would expect the symbols to get smaller, but retain their relative size.
My goal is to have different size symbols based on the value it's representing. However without them scaling based on zoom this isn't achievable.
Apologies if there is a very simple answer but I haven't been able to find it!
Hope you can help.