tracyhenry/Kyrix

Add interaction type to API call

peterg17 opened this issue · 1 comments

In order to generate correct statistics, we need to know whether a user interaction is a pan or zoom. Since the user interaction is handled on the front end, the best way to do this is to determine when there is a jump, and add this information as a isZooming boolean variable in the API call to the backend. This issue is related to the data collection for fetch times issue:
#74

Current approach from Wenbo's email: " I think by testing if gvd.tileRenderData=={} will do the trick. Since it's reset to {} every time there is a jump or page onload:

gvd.tileRenderData = {};
"