mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Minor improvements
This commit is contained in:
parent
754e185c5d
commit
7e6b187fd7
9 changed files with 44 additions and 46 deletions
|
|
@ -92,9 +92,7 @@ namespace MapControl
|
|||
{
|
||||
var hemisphere = hemispheres[0];
|
||||
|
||||
value = (value + 540d) % 360d - 180d;
|
||||
|
||||
if (value < -1e-8) // ~1mm
|
||||
if (value < -1e-8) // ~1 mm
|
||||
{
|
||||
value = -value;
|
||||
hemisphere = hemispheres[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue