mapbox-java
mapbox-java copied to clipboard
The Mapbox Java SDK – Java wrappers around Mapbox APIs and other location data
Make Turf's hex-grid function be available in java. Hex-grid utility will return a Feature Collection of hexagons or triangles based on a bounding box and the diameter of the cell....
I overwrite the code like here: ``` public static boolean inRing(PointCustom pt, List pointCustomList) { boolean isInside = false; for (int i = 0, j = pointCustomList.size() - 1; i...
Just spent some time figuring out why my response body was null only to learn that the request was failing with a message `Overview option must be full for congestion`....
Refs NAVAND-646.
The [CLI tool](https://github.com/mapbox/mapbox-java/tree/main/services-cli) currently takes a JSON as parameter and attempts to deserialize it to verify that the data matches the data models. We should do the same with the...
The other day, I encountered what I regard as an issue in the following Code snippet: https://github.com/mapbox/mapbox-java/blob/4ae8b78746fb37b2673364bdd4c8702057f3e7f3/services-turf/src/main/java/com/mapbox/turf/TurfMeasurement.java#L227 The scenario is the following: We have a list of GPS points of...
Have to review mapbox-java `services-core` module and add unit tests where required Samples of code without unit tests: https://github.com/mapbox/mapbox-java/blob/3bed27a64a0b934f5bf8a9b2ce2b18725b6d9a56/services-core/src/main/java/com/mapbox/core/utils/MapboxUtils.java#L8-L27 https://github.com/mapbox/mapbox-java/blob/3bed27a64a0b934f5bf8a9b2ce2b18725b6d9a56/services-core/src/main/java/com/mapbox/core/utils/TextUtils.java#L82-L88
Trying to consume the latest Mapbox Java API with Maven 3.8.6 fails due to missing authorization: ``` [DEBUG] Repositories (dependencies): [central (https://repo1.maven.org/maven2/, default, releases+snapshots), mapbox (https://api.mapbox.com/downloads/v2/releases/maven, default, releases+snapshots)] [DEBUG] Using...
Hi there, I'm trying to build a project using mapbox sdk in JavaFX. If I try to build I'm getting the following error: `[ERROR] Failed to execute goal on project...
If I want to use Opengles to render my own things onto the bottom map of the maplibre, how should I do it? Is there a simple example