The MapElement copy constructor does not copy the attribute field which
contains the location inforamtion country, city, zip, street, phone etc.
The patch fixes that.
WanMil
Index: src/uk/me/parabola/mkgmap/general/MapElement.java
===================================================================
--- src/uk/me/parabola/mkgmap/general/MapElement.java (revision 1879)
+++ src/uk/me/parabola/mkgmap/general/MapElement.java (working copy)
@@ -50,6 +50,7 @@
minResolution = orig.minResolution;
maxResolution = orig.maxResolution;
extTypeAttributes = orig.extTypeAttributes;
+ attributes.putAll(orig.attributes);
}
/**
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev