AnsweredAssumed Answered

ArcGIS OnClick MouseEvent Question.

Question asked by minipimpmaster on Sep 28, 2018
Latest reply on Oct 3, 2018 by zeethree50



I have this piece of code where I can statically add points to the map

void MainWindow::populatePoints(QList<Point>& locations)
  locations.append(Point(-11853242.850239, 3922136.795369, SpatialReference::webMercator()));

But..what I am trying to figure out is how can I make OnClick event, so every time I click
on the map, it will append a point to the map. I am a fairly new programmer and any guidance to solve
this problem would be much appreciated.

Thank you,