Esri / feedback-js-api-next

Try out the next release of the ArcGIS Maps SDK for JavaScript and share your feedback. Be warned: this release is still in development and is unstable.
87 stars 23 forks source link

Bug: Inconsistent rendering of line caps between GraphicsLayer and FeatureLayer #11

Closed dpocius closed 5 years ago

dpocius commented 5 years ago

Describe the bug When the line is rendered in GraphicsLayer, line caps are rendered as round. When the same line is rendered using FeatureLayer - same line caps are rendered as butt/square.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://jsbin.com/sadewufibi/edit?html,output
  2. Observe that line caps are rendered as round in GraphicsLayer (e.g. most bottom part, u-turn case)
  3. Go to https://jsbin.com/qazikoqaja/edit?html,output
  4. Observe that the same line caps are rendered as butt/square

Expected behavior Result of rendering same line in GraphicsLayer and FeatureLayer should be equal

Screenshots Line rendered in GraphicsLayer: https://i.imgur.com/s2vrrAS.png Line rendered in FeatureLayer: https://i.imgur.com/biusrU6.png

Browser (check https://whatismybrowser.com/)

What's your OS? (check https://whatsmyos.com):

API version (check your console)

Additional context

mmgeorge commented 5 years ago

@dpocius the differences you see are due to some additional processing we have enabled for graphics. Due to time processing constraints, we currently do not apply this logic in the case of FeatureLayers or VectorTileLayers. This is a known limitation for now and we are looking at ways to improve this area and speed up mesh processing.

bsvensson commented 5 years ago

Hi @dpocius

Thank you for your interest in the next version. About the issue tracking in this github repo: