Arrow marker not exists in LineSymbol JS Api v4

299
1
04-22-2020 07:57 AM
AshrafElhakim1
New Contributor

Hello,

I am facing an issue while drawing a Webmap using esri JS api v4,

the webmap has a polyline layer with arrow style at the end of the polyline, 

It has been set from the arcgis online, and I can see it in the json layer definition object of the webmap but I can see only the line without the arrow.

I think this because the marker property doesnt exist in V4 apis, it was exists in v3 in the marker property 

CartographicLineSymbol | API Reference | ArcGIS API for JavaScript 3.32 

any advice, workaround, or plan to add this missing feature in a next release?

Thanks

0 Kudos
1 Reply
mgeorge
Esri Contributor

Hi Ashraf Elhakim‌,

This is a known issue and something we're working on as part of our ongoing effort to expand CIM support (in fact just yesterday I was looking at a prototype for CIM arrows). Once that work is done, we'll be able to bring back that line symbol property, which under the hood will use the new CIM rendering logic.

We don't yet want to commit to a time table for this, but it is in active development.

Matt

0 Kudos