crop calls editObject, which only reads .mapData rather than doing a new since request.
What's the best way to handle this? Adding an argument to editObject to force a new since request is an option, but, finding the correct times to call that argument would not be great - having every crop operation do a new since request is pretty slow. For now, just deal with it in the caller by doing sts.doSync(once=True) before the crop operation(s), until we can think of a better way to automate it.
Changed addLine, addMarker, addPolygon to immediately add the new object to .mapData. Combined with recent cache and sync overhaul this seems to have resolved the problem.
crop calls editObject, which only reads .mapData rather than doing a new since request.
What's the best way to handle this? Adding an argument to editObject to force a new since request is an option, but, finding the correct times to call that argument would not be great - having every crop operation do a new since request is pretty slow. For now, just deal with it in the caller by doing sts.doSync(once=True) before the crop operation(s), until we can think of a better way to automate it.