Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 961 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 961 Bytes

Valhalla Mobile Build POC

Important

Archived! https://github.com/Rallista/valhalla-mobile publishes all of this functionality as an android library.

Setup

git submodule update --init --recursive

# Build 
./build_protoc_local.sh
./build_wrapper.sh

# Move the wrapper library to the right location for JNI
cp build/arm64-v8a/wrapper/wrapper/libvalhalla_wrapper.so valhalla/src/main/jniLibs/arm64-v8a

Using the demo app

  1. Copy your valhalla.json, tiles tar file and admins.sqlite to the valhalla/src/main/assets to use the defualt FileUtils behavior. See

  1. Ensure the route request includes lat-longs within your tile's bounding box.
  2. Tap make route.

References