let the client create a multipolyline instead of the API

An activity creates and caches the multipolyline of its track,
using underscore’s map function.