AnsweredAssumed Answered

Widgets 4x: Listening for pointer events on a MapView

Question asked by vandervoort on Mar 17, 2017
Latest reply on Feb 28, 2018 by travis.l.riffle

I'm trying to figure out how to listen for pointer events on a MapView in my widget. I'm not getting very far... For example:

postInitialize() {
watchUtils.on(this, "view", "pointer-down", () => this._onPointerDown());
}

will fire the _onPointerDown method when the MapView is clicked on. However, what I'm really interested in are the properties of the pointer-down event. e.g., x, y, etc. : MapView | API Reference | ArcGIS API for JavaScript 4.3 

 

Any advice is appreciated - I'm just looking for an opening  TIA

Outcomes