AnsweredAssumed Answered

CustomElevationLayer with Typescript

Question asked by EternalDOOM on May 22, 2018
Latest reply on May 22, 2018 by EternalDOOM



in the past I was able to create a CustomElevationLayer with Exaggeration for an Esri Javascript 3D scene:
Custom Elevation Layer with Exaggeration 


Now I would like ro realize the same task with Typescript. The general patterns to use Esri API in Typescript are clear but I'm struggling when it comes to: 




TypeScript compiler tells me that Property 'createSubclass' does not exist on type 'BaseElevationLayerConstructor' and I can see this clearly in the TypeDefinitions. This method appears nowhere.

So how can I create a custom ElevationLayer in Typescript? 

Does anybody has an idea?