Leaflet.MapCenterCoord icon indicating copy to clipboard operation
Leaflet.MapCenterCoord copied to clipboard

DM and DMS formated coordinates: "60" instead of "00"

Open ppete2 opened this issue 8 years ago • 0 comments

There's an issue when using DM or DMS formated coordinates when being exactly at the edge of a degree (with DM format) or at the edge of a minute (with DMS format). By mistake "60" is displayed instead of "00". But not for the whole distance of the "00" coordinate, just for about the half distance.

Examples:

  • DM: 32° 60.000' and some movement later: 33° 00.000' before turning into 33 °00.001'
  • DMS: 53° 45' 60.0" and some movement later: 53° 46' 00.0" before turning into 53° 46' 00.1"

ppete2 avatar Oct 07 '16 20:10 ppete2