Use Java for polyline decoding.