LocationAt in GpxTrkseg returns index
LocationAt in GpxTrkseg returns index

Instead of returning a struct, which can be empty, return the index of
the found GpxPoint or -1 if not found. This way it is possible to check
if something was found or not

tkrajina/gpxgo,ptrv/go-gpx