note that in the preview control file (e.g. pv.txt) you must close the MAP section with an END-MAP tag. It's probably safer to close the FILES section in the same way, too.
With cgpsmapper itself you can optionally close sections using just an END tag. But if you do this in the MAP section of the preview control file then cpreview will give no error but it won't read the FILES section. This will in turn means that when you try to compile the resulting .mp file, cgpsmapper will fail with a 'layer 0 cannot be empty' error!
This almost drove me insane while I was trying to figure out why my previews weren't working
With cgpsmapper itself you can optionally close sections using just an END tag. But if you do this in the MAP section of the preview control file then cpreview will give no error but it won't read the FILES section. This will in turn means that when you try to compile the resulting .mp file, cgpsmapper will fail with a 'layer 0 cannot be empty' error!
This almost drove me insane while I was trying to figure out why my previews weren't working
