Solved! Go to Solution.
var lyrHospital = new FeatureLayer("https://ags2.scgov.net/arcgis/rest/services/WebEOC/WebEocOperational/MapServer/10", { mode : FeatureLayer.MODE_ONDEMAND, opacity : 1.0, infoTemplate : hspTemplate, outFields : outFieldsHospital }); lyrHospital.setDefinitionExpression("FEATURETYPE = 'HSP'");
var hspSym = new PictureMarkerSymbol('http://static.arcgis.com/images/Symbols/NPS/npsPictograph_0074b.png', 18, 18); //24, 24 var hspRenderer = new SimpleRenderer(hspSym); //defaultSymbol, "ProgramArea"); lyrHospital.setRenderer(hspRenderer);