Estou utilizando ArcGIS API JavaScript 4.0 e estou tentando retornar com mapPoint a latitude e longitude a partir do mapa, mas única maneira que consegui foi com "click":
view.on("click", function(evt) {
// Get the coordinates of the click on the view
var lat = (evt.mapPoint.latitude).toFixed(2);
var lon = (evt.mapPoint.longitude).toFixed(2);
dom.byId("info").innerHTML = lat + ", " + lon;
});
Gostaria de saber se é possível fazer com evento ao passar o mouse (por exemplo: load, mosue-over, hover)?
obrigado