Hi Gerd & Arndt

I'm reasonably sure the change in option handling is the problem and
attach a patch to fix it.

Ticker


On Mon, 2021-01-25 at 18:05 +0000, Ticker Berkin wrote:
> Hi Arndt
> 
> One of the changes in this set is which options get passed through to
> the overview builder and maybe this could have an effect. What
> options
> are you using?
> 
> Does the overview map with the working version have a DEM section? It
> is possible it didn't and the options change means it now does.
> 
> Is it possible that you have manual/styled 0x4a polygons in your
> data.
> The effect of having these might change things.
> 
> Ticker
Index: src/uk/me/parabola/imgfmt/app/map/Map.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/map/Map.java	(revision 4599)
+++ src/uk/me/parabola/imgfmt/app/map/Map.java	(working copy)
@@ -137,7 +137,8 @@
 			// and not relevant to overview maps
 			treFile.config(props);
 		}
-		if (!isOverviewComponent) { // allow dem on final overview but not in the ovm_
+		if (!isOverviewComponent && (!isOverviewCombined || props.containsKey("overview-dem-dist"))) {
+			// allow dem on detail tiles but not final overview unless has own option. Never in the ovm_
 			if (props.containsKey("dem")) {
 				try {
 					addDem();
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to