Vela Maps

HEARTU2

Open-Source ContributionAndroid, no Google Play Services required

Vela is an open-source Android navigation app that works without Google Play Services. It isn’t my project: I contribute to it. My first pull request was merged on December 3, 2026 and ships in Vela’s December 4 nightly build. It makes camera-avoiding routes pick the best option that still fits the detour limit.

About Vela

Vela is a free, GPL-3.0 maps and turn-by-turn navigation app for Android. It is built on open map data, runs on phones without Google Play Services, and can route around mapped license-plate cameras when asked.

Vela is created and maintained upstream. I contribute patches as an independent developer; I am not its author or a maintainer.

Completed contributions

  • Better routes within the detour limit

    With camera avoidance on, Vela could overlook a qualifying alternative when another candidate went over the time budget. It now evaluates every eligible alternative and ranks them consistently, without exceeding the existing limit: up to 25% over the fastest route, capped at ten extra minutes.

  • Camera counts that stay with their routes

    Counts follow the route they belong to when a saved or no-toll route joins the list, or when naming turns changes a route’s line. A label-only change keeps the counts.

  • Work that stops when you do

    Pending camera comparisons and side-street searches are discarded when you start a new search, close directions or start driving. Side-street trials share the same time limit and a budget of six requests per search.

Merged pull request

Merged · in the December 4 nightly

Camera avoidance picks the best route within the detour limit

Pull request #1007 was merged on December 3, 2026, is on Vela’s main branch, and is listed in the release notes of the 0.5.3144 nightly build from December 4. It isn’t in a stable release yet; the latest stable release is 0.5.2621.

Pull request
#1007, ready for review November 26, 2026
Merged
December 3, 2026, by the project maintainer
Submission
Branch fix/camera-detour-within-limit, commit 1ddb8efb
Size
8 files, +287 −78: routing core, Android view model, tests and documentation
First shipped in
Nightly 0.5.3144, December 4, 2026
Status checked
December 4, 2026

Screens

  • Vela directions showing a four-minute route across Davis, California, with the note 3 cameras on this route

    A route and its mapped-camera count

  • Vela’s alternate routes list with two four-minute routes, each marked 3 cameras on this route

    Alternate routes, each with its camera count

  • Vela’s navigation settings with the Surveillance cameras and Avoid surveillance cameras switches turned on

    The Avoid surveillance cameras setting

Captured on a Samsung Galaxy S25 Ultra during testing, with a simulated location in Davis, California. Map data © OpenStreetMap contributors.

Technical approach

  • Route ranking lives in Vela’s Kotlin core. To reach the top, an alternative must pass fewer mapped license-plate cameras than the current lead route and fit within the detour limit. Among those, the fewest cameras wins and ties go to the faster route. If none qualifies, the order does not change.
  • The Android layer tracks each route’s identity and geometry, so a recount happens only when it should: a saved route moving to the top, a no-toll route joining the list or a changed route line. Results that arrive after their request has ended are ignored.
  • The optional side-street search uses the same time limit and a shared budget of up to six trial requests per directions search. Every pending comparison is cancelled when the request ends.
  • The change affects route planning for mapped license-plate cameras. Fixed speed-camera warnings and the camera data sources are unchanged.

Status and limits

  • Merged on December 3, 2026 and included in the December 4 nightly build. It isn’t in a stable release yet, and when that happens is up to Vela’s maintainer.
  • This is the work of an independent contributor. Nothing here speaks for the Vela project.
  • The upcoming work below is my own proposal, not Vela’s roadmap. None of it is built, accepted or scheduled upstream.

Development and verification

Automated tests and checks

  • 1,700 core tests and 273 app tests ran, with 28 reported skips and no failures.
  • Four ranking regression tests failed against upstream and pass with the change: an over-budget route hiding a better choice, the limit after the lead route changes, ties and subsecond travel times, and invalid travel times.
  • App tests cover route identity, stale-result guards, when a changed route line needs a recount, the added no-toll row and the shared request budget.
  • Release APK assembly and signature verification passed, along with Vela’s documentation, translation and writing checks.

Emulator and phone testing

  • An Android 16 ARM64 emulator without Google Play Services cold-launched the release build, showed a route and a no-toll alternative with camera counts, reopened a saved trip and kept a dismissed request closed.
  • A Samsung Galaxy S25 Ultra running Android 17 ran USB-assisted tests with simulated navigation: route selection, saved-route restoration, side-street trials, and cancellation when directions were closed, the destination changed or a simulated drive started while work was pending.

What the phone run did not show. The phone run did not independently demonstrate an automatic route promotion under the detour limit: both alternatives showed the same rounded travel time and camera count. That rule is covered by the unit tests. The phone testing used simulated navigation and was not a road test.

Developed with AI assistance, as disclosed in the pull request: OpenAI Codex for implementation, review, audit and documentation, and DeepSeek V4.1 Flash for ADB-assisted device testing and diagnostics.

Upcoming contributions

What I’d like to bring to Vela next: smarter routing, awareness of what’s happening on the road, and more control over the drive. These are my proposals. Nothing here is built yet or agreed with Vela’s maintainer, and there are no dates.

Proposed

Research and design only. Vela’s own roadmap keeps official incident feeds in a separate companion project, so I’d treat any incident data as an optional source Vela reads, not something built into the app.

  • Live road awareness

    Look into reading WzSabre and Highway Radar–style reports (police activity, speed traps, hazards and closures) and only alerting on ones that match your direction, are recent and come from reliable sources. Untested, and there’s no partnership.

  • More camera data

    Import more camera databases, including license-plate readers, surveillance, speed and red-light cameras, with better tools to manage and update them.

  • Smarter route choices

    Compare routes by cameras passed, reported incidents, travel time and extra distance, so the tradeoff is clear before you pick one.

  • Your own avoidance rules

    Choose per trip which camera and incident types to avoid, and how long a detour you’ll accept.

  • Rerouting on the way

    Optionally recalculate mid-drive when new incidents or closures are reported, and show what the change costs in time.

  • Privacy and trust

    A provider-independent incident pipeline that drops duplicates, expires old reports and scores confidence, built with privacy in mind.