Esri / cedar

JavaScript Charts for ArcGIS
https://esri.github.io/cedar
256 stars 238 forks source link

Example of chart from a profile service request #76

Open ajturner opened 9 years ago

ajturner commented 9 years ago

Requirement from @thejones

ajturner commented 9 years ago

hey @thejones - here is a demo of profile - http://bl.ocks.org/ajturner/87f18b9a71491d32f021

87f18b9a71491d32f021

however the profile service I'm using does not provide M values, so we would need to calculate these from the feature lengths.

What profile service are you using?

thejones commented 9 years ago

https://developers.arcgis.com/rest/elevation/api-reference/profilesync.htm

Sync is easier to use than the Async. Async needs a second call to request the m & z.