Make PolylineCompresser's encode and decode free standing functions
This commit is contained in:
committed by
Patrick Niklaus
parent
c590596dbe
commit
c65dd16460
@@ -18,8 +18,7 @@ BOOST_AUTO_TEST_CASE(decode)
|
||||
{
|
||||
// Polyline string for the 5 coordinates
|
||||
const std::string polyline = "_gjaR_gjaR_pR_ibE_pR_ibE_pR_ibE_pR_ibE";
|
||||
PolylineCompressor pc;
|
||||
std::vector<util::FixedPointCoordinate> coords = pc.decode_string(polyline);
|
||||
const auto coords = polylineDecode(polyline);
|
||||
|
||||
// Test coordinates; these would be the coordinates we give the loc parameter,
|
||||
// e.g. loc=10.00,10.0&loc=10.01,10.1...
|
||||
|
||||
Reference in New Issue
Block a user