doc for tilewrapper and fix in trajectory