Visualize a FeatureLayer in 3D with attribute's values as absolute height

1538
10
05-09-2017 06:46 AM
ChristianSailer2
Occasional Contributor

Hello

Is JS 4.3 ready for visualizing a FeatureLayer (FeatureService) in 3D with attribute's values as absolute height?

Thank you

Chris

0 Kudos
10 Replies
ThomasSolow
Occasional Contributor III

For a polygons and polylines, you'll have to transform every point in every ring/path by adding a z value or changing the current z value to whatever you like.

I don't see a Created_Date attribute, but I assume that should be fetched if outFields = ['*'].  In terms of transforming a timestamp into a height, or somethign that could be used as a height, I think you could do this by scaling your total set of timestamps from 0 to X ms where X is the difference between the smallest timestamp and the largest timestamp and 0 is the smallest timestamp.  Of course you could use seconds, minutes, etc instead of ms.

0 Kudos