forked from organicmaps/organicmaps
The сoefficients correlated with zoom levels are corrected.
This commit is contained in:
parent
19cc3b7ac4
commit
1262b5130c
5 changed files with 18 additions and 18 deletions
|
@ -35,9 +35,9 @@ uint32_t const kAveragePointsCount = 512;
|
|||
std::vector<float> const kRadiusInPixel =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.8f, 0.8f, 0.8f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f,
|
||||
0.8f, 0.8f, 1.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 3.5f, 4.5f, 4.5f, 4.5f, 5.5f
|
||||
2.5f, 2.5f, 2.5f, 2.5f, 3.0f, 4.0f, 4.5f, 4.5f, 5.0f, 5.5f
|
||||
};
|
||||
|
||||
double const kHumanSpeed = 2.6; // meters per second
|
||||
|
|
|
@ -35,9 +35,9 @@ namespace
|
|||
std::vector<float> const kPreviewPointRadiusInPixel =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.8f, 0.8f, 0.8f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f,
|
||||
0.8f, 0.8f, 2.0f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
2.5f, 2.5f, 2.5f, 2.5f, 2.5f, 3.5f, 4.5f, 4.5f, 4.5f, 5.5f
|
||||
2.5f, 2.5f, 2.5f, 2.5f, 3.0f, 4.0f, 4.5f, 4.5f, 5.0f, 5.5f
|
||||
};
|
||||
|
||||
int const kArrowAppearingZoomLevel = 14;
|
||||
|
|
|
@ -19,25 +19,25 @@ namespace df
|
|||
std::vector<float> const kRouteHalfWidthInPixelCar =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
1.0f, 1.0f, 1.5f, 1.5f, 1.5f, 2.0f, 2.0f, 2.0f, 2.5f, 2.5f,
|
||||
1.0f, 1.2f, 1.5f, 1.5f, 1.7f, 2.0f, 2.0f, 2.3f, 2.5f, 2.7f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
3.0f, 3.0f, 4.0f, 5.0f, 6.0, 8.0f, 10.0f, 10.0f, 18.0f, 27.0f
|
||||
3.0f, 3.5f, 4.5f, 5.5f, 7.0, 9.0f, 10.0f, 14.0f, 22.0f, 27.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kRouteHalfWidthInPixelTransit =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.2f, 1.2f, 1.4f, 1.6f,
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.1f, 1.2f, 1.3f, 1.4f, 1.7f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
1.8f, 1.8f, 2.4f, 2.6f, 3.0, 4.0f, 5.0f, 5.0f, 9.0f, 13.0f
|
||||
1.8f, 2.1f, 2.5f, 2.8f, 3.5, 4.5f, 5.0f, 7.0f, 11.0f, 13.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kRouteHalfWidthInPixelOthers =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.2f, 1.2f,
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.1f, 1.2f, 1.3f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
1.5f, 1.5f, 2.0f, 2.5f, 3.0, 4.0f, 5.0f, 5.0f, 9.0f, 13.0f
|
||||
1.5f, 1.7f, 2.3f, 2.7f, 3.5, 4.5f, 5.0f, 7.0f, 11.0f, 13.0f
|
||||
};
|
||||
|
||||
namespace
|
||||
|
|
|
@ -34,15 +34,15 @@ std::vector<float> const kLeftWidthInPixel =
|
|||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
0.5f, 0.5f, 0.5f, 0.5f, 0.7f, 2.5f, 3.0f, 4.0f, 4.0f, 4.0f
|
||||
0.5f, 0.5f, 0.5f, 0.6f, 1.6f, 2.7f, 3.5f, 4.0f, 4.0f, 4.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kRightWidthInPixel =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 3.0f, 3.0f,
|
||||
2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.0f, 2.5f, 3.0f, 3.0f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
3.0f, 3.0f, 4.0f, 4.0f, 3.8f, 2.5f, 3.0f, 4.0f, 4.0f, 4.0f
|
||||
3.0f, 3.5f, 4.0f, 3.9f, 3.2f, 2.7f, 3.5f, 4.0f, 4.0f, 4.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kRoadClass1WidthScalar =
|
||||
|
@ -50,7 +50,7 @@ std::vector<float> const kRoadClass1WidthScalar =
|
|||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.3,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
0.3, 0.3f, 0.4f, 0.5f, 0.6f, 0.6f, 1.0f, 1.0f, 1.0f, 1.0f
|
||||
0.3, 0.35f, 0.45f, 0.55f, 0.6f, 0.8f, 1.0f, 1.0f, 1.0f, 1.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kRoadClass2WidthScalar =
|
||||
|
@ -58,7 +58,7 @@ std::vector<float> const kRoadClass2WidthScalar =
|
|||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.3f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
0.3f, 0.3f, 0.3f, 0.3f, 0.5f, 0.5f, 0.5f, 0.8f, 0.9f, 1.0f
|
||||
0.3f, 0.3f, 0.3f, 0.4f, 0.5f, 0.5f, 0.65f, 0.85f, 0.95f, 1.0f
|
||||
};
|
||||
|
||||
std::vector<float> const kTwoWayOffsetInPixel =
|
||||
|
@ -66,7 +66,7 @@ std::vector<float> const kTwoWayOffsetInPixel =
|
|||
// 1 2 3 4 5 6 7 8 9 10
|
||||
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
0.0f, 0.5f, 0.5f, 0.5f, 1.0f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f
|
||||
0.0f, 0.5f, 0.5f, 0.75f, 1.7f, 2.5f, 2.5f, 2.5f, 2.5f, 2.5f
|
||||
};
|
||||
|
||||
std::vector<int> const kLineDrawerRoadClass1 = {12, 13, 14};
|
||||
|
|
|
@ -29,9 +29,9 @@ float const kTransitLineHalfWidth = 0.8f;
|
|||
std::vector<float> const kTransitLinesWidthInPixel =
|
||||
{
|
||||
// 1 2 3 4 5 6 7 8 9 10
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
|
||||
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.25f,
|
||||
//11 12 13 14 15 16 17 18 19 20
|
||||
1.5f, 1.8f, 2.2f, 2.8f, 3.2f, 3.8f, 4.8f, 5.2f, 5.8f, 5.8f
|
||||
1.65f, 2.0f, 2.5f, 3.0f, 3.5f, 4.3f, 5.0f, 5.5f, 5.8f, 5.8f
|
||||
};
|
||||
|
||||
namespace
|
||||
|
|
Loading…
Add table
Reference in a new issue