From 30be836ea5d9f9820faa1a9d9c7fe9c41e5be82d Mon Sep 17 00:00:00 2001 From: ilasica Date: Tue, 10 Feb 2015 09:12:54 +0300 Subject: [PATCH] Continue work on BeanShell in SQLiteDB --- OsmAnd/src/net/osmand/plus/SQLiteTileSource.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java b/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java index 748706837f..ffc28760d8 100644 --- a/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java +++ b/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java @@ -183,6 +183,10 @@ public class SQLiteTileSource implements ITileSource { urlTemplate = template; } } + int ruleId = list.indexOf("rule"); + if(ruleId != -1) { + rule = cursor.getString(ruleId); + } int tnumbering = list.indexOf("tilenumbering"); if(tnumbering != -1) { inversiveZoom = "BigPlanet".equalsIgnoreCase(cursor.getString(tnumbering));