logo separator

[mkgmap-dev] location-autofill=nearest breaks compiling

From Steve Ratcliffe steve at parabola.me.uk on Mon Sep 2 22:16:37 BST 2013


> I am not sure where a check is missing. It could be added to the
> Label.setOffset()  method
> or to the POIRecord.write() method.
> Please can you habe a look at it?

I've written a patch (attached) which implements writing out
the labels with offsets divided by 2.  Will therefore
allow twice as much label space.

There is also a check for overflow in the patch.

The required code to read labels with this flag set was already 
implemented, so the patch is quite small.

I think it is probably best to not attempt to work out if the multiplier 
is required or not and just always use it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LBL_offset_multiplier.patch
Type: text/x-patch
Size: 2936 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130902/268b5ef4/attachment.bin 

More information about the mkgmap-dev mailing list