I'm trying to use the ArcGIS JS API Map to draw a simplified "straight line" representation of spatial data (with measure values) to a representation where there are no curves (just straight lines). I'm thinking the easiest way to do this would be to set a simple linear x,y coordinate system for the map and then draw features based on that simple x,y coordinate system using the feature's "measure" values.
Example:
- Query the line data from ArcGIS Server
- Example feature: {geometry: [{x: -72, y: 42, m: 0}, ...other points..., {x: -90, y: 40, m: 10}]
- Convert the geometries to simple x,y coordinate system (using the measure values)
- Add the new features to the map with a simple x/y coordinate system
- The x axis would be based on the measure value
- The y axis would be arbitrary number based on where we want to show the lines (stacked on top of each other)
Example:
![RussellMGreen_0-1695243096766.png RussellMGreen_0-1695243096766.png](https://community.esri.com/t5/image/serverpage/image-id/81259i365813014A12AAB5/image-size/large?v=v2&px=999)
Anyone have any suggestions for the most efficient way to do this in ArcGIS JS API? Also, can anyone point me to a supported coordinate system that is just a simple x/y (0, 1, 2, 3, etc.).
Thanks!