AnsweredAssumed Answered

How use an image as Feature style?

Question asked by joropeza.ingeolan on Jan 10, 2018
Latest reply on Jan 10, 2018 by joropeza.ingeolan

In arcgis online I can change the symbol for all the features in the layer to be a png image. 


But I want every feature be a different symbol. Most like it the picture in user profile. So I will have the image url from the user information.


I see In this example Symbols and renderers—ArcGIS Runtime SDK for .NET | ArcGIS for Developers  you can create a pictureMarkerSym then use it to create a Graphic and add it to an Overlays.


    var graphic = new Graphic(location, pictureMarkerSym);


But right now I only have a FeatureLayer?

var attributes = new Dictionary<string, object>
    { "worker_id", 3 },
    { "x_lat", -66.88 },
    { "y_long", 10.55 },
    { "time", "2017-12-24 18:00:00" }

MapPoint structureLocation = new MapPoint(-66.88, 10.55);

// create a new feature in the damage table, pass in the attributes and geometry
Feature newFeature = tblWorkers.CreateFeature(attributes, structureLocation);

Do I need create an extra Overlay Layer to show the symbol of each feature? Or I can change the Feature symbol as in ArcGis Online?