Select to view content in your preferred language

Picture markers with an outline

144
0
03-02-2026 01:48 AM
Status: Open
michaelpoa
Regular Contributor

Hi Esri!

I made a post in the sdk questions section and made a official ESRI support ticket with this question:
https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-with-an-outline-...

Is it possible to make a CIMPictureMarker with a stroke? If so how to achieve this? 
The answer: "NO. It's a feature request" -> That's why I'm here

Requirements:

  1. Usage of CIM symbology
  2. Possibility to use primitive overrides for this specific symbol
  3. I want to override outline based of a feature's field value. (value expression $feature)
symbol: {
type: 'CIMPointSymbol',
angleAlignment: 'Map',
useRealWorldSymbolSizes: true,
symbolLayers: [
{
type: 'CIMPictureMarker',
primitiveName: 'symbol-layer-1',
enable: true,
textureFilter: 'Text',
url: 'assets/images/iamge.png',
outline: { // This is not working
color: [ 255, 255, 0 ],
width: 3
}
},
],
},

 Thanks in advance