Hi all!
Is it possible to make a CIMPictureMarker with a stroke? If so how to achieve this?
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
}
},
],
},
Are there other ways to do this? This would be very useful!
Thanks!
Gr
Michael
The cleanest way I have found of producing sharp outlines around picture symbols is via feature effects. You can add filters if needed so that it is only applied to specific features. I find that the result is much sharper than what the actual layer rendering engine seems to produce...
Thanks for helping me ! @JonathanDawe_BAS
But I think your codepen does not work? Nevertheless there's no support for primitiveOverrides or visualVariables with these effects?
Are there any other ways?
Thanks!
Gr Michael