/* encode other points */
for (int i = start + 1; i < stop; i++) {
previous = current;
current = pts[i];
format.asGPolylineCoordinate(current.getLat(),
previous.getLat(), mapjs);
format.asGPolylineCoordinate(current.getLon(),
previous.getLon(), mapjs);
}