From 9dc28e6ac965b0f83fbab50f21a2819d8bc0bd70 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 31 Jan 2012 23:51:27 +0100 Subject: [PATCH] include newly developed 'high contrast roads' renderer as example for depends renderer --- .../render/high-contrast-roads.render.xml | 125 ++++++++++++++++++ .../osmand/plus/render/RendererRegistry.java | 1 + 2 files changed, 126 insertions(+) create mode 100644 DataExtractionOSM/src/net/osmand/render/high-contrast-roads.render.xml diff --git a/DataExtractionOSM/src/net/osmand/render/high-contrast-roads.render.xml b/DataExtractionOSM/src/net/osmand/render/high-contrast-roads.render.xml new file mode 100644 index 0000000000..e5d2a07cde --- /dev/null +++ b/DataExtractionOSM/src/net/osmand/render/high-contrast-roads.render.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java index 97adb03cb6..e112e20a53 100644 --- a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java +++ b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java @@ -35,6 +35,7 @@ public class RendererRegistry { public RendererRegistry(){ internalRenderers.put(DEFAULT_RENDER, "default.render.xml"); internalRenderers.put("winter+ski", "winter+ski.render.xml"); + internalRenderers.put("high-contrast-roads", "high-contrast-roads.render.xml"); } public RenderingRulesStorage defaultRender() {