logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Jun 2 09:00:57 BST 2021

Hi Mike,

yes, sorry, forgot to adapt the source after applying the patch on mkgmap. Fixed now:
https://www.mkgmap.org.uk/websvn/revision.php?repname=display&rev=558

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Mittwoch, 2. Juni 2021 09:50
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Commit r4735: improve Logging/ debugging :        todegrees.patch

>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

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list