Recent CN typ files only contain ExtraPOI and a list of labels (no polygon, no polyline, no POI and the draworder list is empty).Quote:
The problem is that CN Typ file is empty!!!
No, this is not how it works.Quote:
o if you add 0x10d01 and draw order 1, this polygon covers the entire map
In all the cases, the background (0x4b for non NT and 0x10d01 for NT) covers all the map: this polygon is drawn everywhere. The problem comes from the draworder: when you uses a typ file with an empty draworder, ALL the polygons are displayed and their draworder is set by the rendering engine (i.e. MapSource,BaseCamp or the firmware of the GPS unit), but if the draworder list of your typ file is not empty , only the polygons indicated in this list are displayed.
So if you add the polygon 0x10d01 to the draworder list of a typ file with an empty draworder list, all the other polygons won't be displayed.
So to change the color of the background:
- if the original typ file has a non empty draworder list: add the background polygon (with the color your want) to the polygon list and to the draworder list (with draworder=1) and increase the draworder of all other polygons by 1
- if the original typ file has an empty draworder (like recent CN) ,there are 2 ways to do it:
1) you add the background to the polygon list but not to the draworder: it is not sure that you obtain what you want, it depends on the map, the firmware, the version of Mapqource/Basecamp
2) you add the background to the polygon list AND to the draworder list: in this case you have to add to the draworder list all the polygons used by the map and correctly adjust the different levels: if you want I can give you a list of polygons often used in CN