periodic setViewpointCenter call

1030
10
Jump to solution
08-18-2017 06:21 PM
HidekiShibata
New Contributor II
Hi,

I experienced random crash with about 10Hz setViewpointCenter call.

I'm receiving GPS coordinate and move a symbol on the map.
When user select auto-track function, I just call setViewpointCenter to center the symbol for each coordinate update.
It works for a while, but it crash randomly.

I thought 10Hz is too fast, so I check DrawStatus like this.
 
                    if(_mapView->drawStatus()==DrawStatus::Completed)
                    {
                        _mapView->setViewpointCenter(pt);
                    }

But I'm still getting random (time from start app, usually less than 1 minute) crash.
If I commented out setViewpointCenter, never crashed.

I got crash message when Debug build mode. Please see attached file.

Windows 10 pro, VS2015 64bit, QT 5.9.1, SDK is 100.1

Is there any solution?

Regards,

0 Kudos
10 Replies
HidekiShibata
New Contributor II

Hi Lucas,

I am using 100.1 SDK on Windows 10pro, QT 5.9.1 VC2015 64bit.

Regards,

Hideki

0 Kudos