Closed sunshine0576 closed 5 years ago
JTS 1.16+ seems to require Java 8 and Android 7 Nougat (API 24)?
D8: Default interface methods are only supported starting with Android N (--min-api 24):
org.locationtech.jts.geom.Coordinate org.locationtech.jts.geom.CoordinateSequence.createCoordinate()
JTS (LocationTech) current version is 1.19.0,When to update it?
We may see this in the future as min Android increases.
VTM works fine with current JTS, why need an update?
because OffsetCurveBuilder getOffsetCurve not working. works fine when distance is set to 100, has bug when set to 1000. ocb.getOffsetCurve(lineDrawable.getGeometry().getCoordinates(), -100 / NEARNESS_FACTOR); working. ocb.getOffsetCurve(lineDrawable.getGeometry().getCoordinates(), -10000 / NEARNESS_FACTOR); have bug. @devemux86
by the way, private static final int NEARNESS_FACTOR = 100000;
You can exclude VTM transitive dependencies in application Gradle and use your preferred versions.
@devemux86 not working, https://github.com/wdtinc/mapbox-vector-tile-java/issues/48 get this. by the way,thank you reply. mate
Dependencies are not updated without extensive testing and they must update / work together. More important is not break Android min SDK and keep compatibility with older Android / Java.
VTM uses JTS in vtm-jts
for overlays, which is a core feature of the library and must work.
Mapbox vector tiles in vtm-mvt
module use 3rd-party mapbox-vector-tile
lib (using JTS).
JTS (LocationTech) current version is 1.16.1,When to update it?