2

Using ArcGIS Server 10.4.1 I am publishing a Service which has Flow Directions on it like

enter image description here

but when consuming in ArcGIS online or even on ArcGIS for JavaScript API Application I am getting lines without Arrow

enter image description here

asked Dec 21, 2017 at 19:22

1 Answer 1

1

As of version 3.23 of the ArcGIS API for JavaScript, the SimpleLineSymbol supports displaying arrow markers on the beginning and/or ending vertices of a polyline.

https://developers.arcgis.com/javascript/3/jshelp/whats_new.html https://developers.arcgis.com/javascript/3/jsapi/simplelinesymbol-amd.html#setmarker

 lineSymbol.setMarker({
 style: "arrow",
 placement: "end"
 });
answered Jan 2, 2018 at 17:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.