esri/views/layers/GraphicsLayerView can't be extended.

04-23-2021 05:22 PM
New Contributor III

I am trying to extend the GraphicsLayerView in typescript.


import GraphicsLayerView from "esri/views/layers/GraphicsLayerView";


export My2dGraphicsLayerView extends GraphicsLayerView {


When I try to load my application in a browser, I get this exception message:

Uncaught ReferenceError: GraphicsLayerview is not defined


I even tried in plain old javascript and this class does not exist there.   The GraphicsLayer is using a LayerView called GraphicsLayerView2D.

This LayerView has no api documentation and seems to be a hidden, proprietary class.
How do I extend GraphicLayerView functionality while still using the machanics of an existing, well designed, LayerView?

0 Kudos
0 Replies