I have a web application which will track he movement of user, and save the history location to database.
And user may want to see his/her movement trace over a period of time, we have to display them in the browser(contain IE6).
Generally we can use the overlay API like Polyline
in Google Map or Leaflet JS, however it is unacceptable for our use case since there maybe too many points for a time.
Now the user will upload their location every 60 seconds, and suppose they just upload 10 hours one day, then there will be 10 * 24 * 60 = 14400
records per user one day.
So how about user trying to check the trace for yesterday or even last month? Technologically we prefer to load just a part of the data and then load more ,but user like to see All of the trace
.
That's means we can not draw the points in the client, I have though to simplify the points before returned to the client, but this can not make sure the number of the points to an acceptable level, so I wonder if someone have the similar experience for this kind of situation?