add showLocations switch
change ts to cts
refactor path coordinates creations