This issue still arises with version 1.6.
symbol = { "type":"simple-marker", "size":6, "color":"black" }
san_diego_map = gis.map("San Diego")
san_diego_map.add_layer(last_24hours.feature_set, { "renderer":"autocast", "type":"simple", "symbol": symbol })
Errors in JS console:
[esri.core.Accessor] Accessor#set Invalid property value, value needs to be one of 'esri.symbols.SimpleFillSymbol', 'esri.symbols.PictureFillSymbol', 'esri.symbols.PictureMarkerSymbol', 'esri.symbols.SimpleLineSymbol', 'esri.symbols.SimpleMarkerSymbol', 'esri.symbols.TextSymbol', 'esri.symbols.LineSymbol3D', 'esri.symbols.MeshSymbol3D', 'esri.symbols.PointSymbol3D', 'esri.symbols.PolygonSymbol3D', 'esri.symbols.WebStyleSymbol', or a plain object that can autocast (having .type = 'simple-fill', 'picture-fill', 'picture-marker', 'simple-line', 'simple-marker', 'text', 'line-3d', 'mesh-3d', 'point-3d', 'polygon-3d', 'web-style')
Product Manager
Developers and Location Services
Germany and Switzerland