[mkgmap] 01/05: Imported Upstream version 0.0.0+svn3677
Bas Couwenberg
sebastic at debian.org
Thu Jul 7 12:56:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository mkgmap.
commit 7e1c4dfe2119cba740a9ad5285e119e7bfe82888
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Jul 7 14:35:09 2016 +0200
Imported Upstream version 0.0.0+svn3677
---
resources/mkgmap-version.properties | 4 ++--
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java | 9 ++++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/resources/mkgmap-version.properties b/resources/mkgmap-version.properties
index d5d1fd0..491d833 100644
--- a/resources/mkgmap-version.properties
+++ b/resources/mkgmap-version.properties
@@ -1,2 +1,2 @@
-svn.version: 3676
-build.timestamp: 2016-04-02T12:58:33+0100
+svn.version: 3677
+build.timestamp: 2016-07-06T10:48:34+0100
diff --git a/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java b/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java
index 6890e74..1f77b09 100644
--- a/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java
+++ b/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java
@@ -172,7 +172,14 @@ public class PolishMapDataSource extends MapperBasedMapDataSource implements Loa
@Override
public LevelInfo[] overviewMapLevels() {
- return null;
+ String levelSpec = getConfig().getProperty("overview-levels");
+
+ if (levelSpec == null)
+ return null;
+ LevelInfo[] levels = LevelInfo.createFromString(levelSpec);
+ for (int i = 0; i < levels.length; i++)
+ levels[i] = new LevelInfo(levels.length-i-1,levels[i].getBits());
+ return levels;
}
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mkgmap.git
More information about the Pkg-grass-devel
mailing list