Hello Team,
I have previously used map scale changed on MapGraphicsView which is working fine.
But if I want to do same on SceneGraphicsView option is not there.
Can you please check. Thanks,
Did you try setting mouseTracking on the view? The following works for me:
m_sceneView = new SceneGraphicsView(scene, this);
m_sceneView->setMouseTracking(true);
connect(m_sceneView, &SceneGraphicsView::mouseMoved, this, [this](QMouseEvent e)
{
qDebug() << e.x() << e.y();
});
Thank you for mouseMoved option.
Actually I had changed question later to
I have previously used map scale changed on MapGraphicsView which is working fine.
But if I want to do same on SceneGraphicsView option is not there.
Can you please check.
In SceneView, you will need to connect to viewpointChanged - SceneGraphicsView Class | ArcGIS for Developers
And then when that emits, access SceneView::currentViewpointCamera - SceneView Class | ArcGIS for Developers