SimpleMarkerSymbol doesn't relatively scale based on zoom

Discussion created by ali7789v4 on Oct 9, 2012
Latest reply on Oct 10, 2012 by geos_rfleet

I have some code below:
  var symbol = new esri.symbol.SimpleMarkerSymbol(); = esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE;
  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.