logo separator

[mkgmap-dev] Commit r4735: improve Logging/ debugging : todegrees.patch

From Mike Baggaley mike at tvage.co.uk on Wed Jun 2 08:50:57 BST 2021

>Version mkgmap-r4735 was committed by gerd on Mon, 24 May 2021

>improve Logging/ debugging : todegrees.patch
>- change Coord.toString() to return the same as toDegreeString() instead of
a pair of Garmin units
>- add method toGarminString() to get a string with Garmin units
>- deprecate toDegreeString()

It appears that display no longer compiles as it uses toDegreeString():

compile:
    [javac] Compiling 76 source files to
C:\Users\Mike\Documents\MapBuild\Programs\display\build\classes
    [javac]
C:\Users\Mike\Documents\MapBuild\Programs\display\src\test\svg\subdiv\SvgDiv
Doc.java:83: error: cannot find symbol
    [javac]                             .setText(String.format("%d: %s",
div.getNumber(), div.getCenter().toDegreeString()));
    [javac]
^
    [javac]   symbol:   method toDegreeString()
    [javac]   location: class Coord
    [javac] 1 error

BUILD FAILED

Cheers,
Mike



More information about the mkgmap-dev mailing list