Permalink
Browse files

POI writer: latest Java compatibility, fix #1083

  • Loading branch information...
devemux86 committed Aug 26, 2018
1 parent 80bef39 commit 44cd1ab28faf6f895ba990766df82bf9d796883b
View
@@ -8,6 +8,7 @@
- POI: SQLite Android Bindings [#1079](https://github.com/mapsforge/mapsforge/issues/1079)
- POI: offline address search [#1063](https://github.com/mapsforge/mapsforge/issues/1063)
- POI writer: tag keys as categories [#1062](https://github.com/mapsforge/mapsforge/pull/1062)
- POI writer: latest Java compatibility [#1083](https://github.com/mapsforge/mapsforge/issues/1083)
- MyLocationOverlay implementation [#1035](https://github.com/mapsforge/mapsforge/issues/1035)
- Polyline / Polygon rendering optimizations [#1057](https://github.com/mapsforge/mapsforge/issues/1057)
- Tile sources with api keys [#1028](https://github.com/mapsforge/mapsforge/issues/1028)
@@ -1,6 +1,8 @@
dependencies {
implementation project(":mapsforge-poi")
implementation 'com.google.guava:guava:23.0'
implementation 'javax.activation:activation:1.1.1'
implementation 'org.glassfish.jaxb:jaxb-runtime:2.3.0.1'
implementation 'org.locationtech.jts:jts-core:1.15.0'
implementation 'org.xerial:sqlite-jdbc:3.20.0'
compileOnly 'org.openstreetmap.osmosis:osmosis-core:0.46'
@@ -1,7 +1,7 @@
/*
* Copyright 2010, 2011 mapsforge.org
* Copyright 2010, 2011 Karsten Groll
* Copyright 2015-2017 devemux86
* Copyright 2015-2018 devemux86
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -71,7 +71,7 @@
Unmarshaller um;
Category xmlRootCategory = null;
try {
ctx = JAXBContext.newInstance(Category.class);
ctx = JAXBContext.newInstance("org.mapsforge.poi.writer.jaxb", getClass().getClassLoader());
um = ctx.createUnmarshaller();
xmlRootCategory = (Category) um.unmarshal(configFilePath);
} catch (JAXBException e) {
@@ -1,6 +1,6 @@
/*
* Copyright 2010, 2011 mapsforge.org
* Copyright 2015 devemux86
* Copyright 2015-2018 devemux86
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@@ -55,7 +55,7 @@
Unmarshaller um;
Category xmlRootCategory = null;
try {
ctx = JAXBContext.newInstance(Category.class);
ctx = JAXBContext.newInstance("org.mapsforge.poi.writer.jaxb", getClass().getClassLoader());
um = ctx.createUnmarshaller();
xmlRootCategory = (Category) um.unmarshal(configFilePath);
} catch (JAXBException e) {

0 comments on commit 44cd1ab

Please sign in to comment.