Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googlemaps/android-maps-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.17.0
Choose a base ref
...
head repository: googlemaps/android-maps-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.18.0
Choose a head ref
  • 4 commits
  • 14 files changed
  • 3 contributors

Commits on Sep 11, 2025

  1. build(deps): bump actions/setup-node from 4 to 5 (#1591)

    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    03e3620 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump actions/setup-go from 5 to 6 (#1592)

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    77fecaa View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2025

  1. feat(library): Add polyline progress utilities to SphericalUtil (#1588)

    * feat(library): Add polyline progress utilities to SphericalUtil
    
    This commit introduces two new utility functions to `SphericalUtil` for calculating points and prefixes on a polyline based on a percentage of its total length. A new demo has also been added to showcase this functionality.
    
    The key changes are:
    - **`SphericalUtil.getPointOnPolyline()`**: A new function that returns a `LatLng` at a specified percentage along a given polyline.
    - **`SphericalUtil.getPolylinePrefix()`**: A new function that returns a new list of `LatLng`s representing a prefix of the original polyline up to a specified percentage.
    - **New Demo**: A `PolylineProgressDemoActivity` has been added to the demo application. It demonstrates how to animate progress along a polyline using the new utility functions, complete with a `SeekBar` for user control.
    - **Tests**: Added comprehensive unit tests for `getPointOnPolyline` and `getPolylinePrefix` to ensure correctness and handle edge cases.
    
    * refactor(demo): Modernize PolylineProgressDemoActivity
    
    This commit significantly refactors the `PolylineProgressDemoActivity` to align with modern Android development practices and better showcase the library's features.
    
    Key changes include:
    - **View Binding**: Replaced `findViewById` with View Binding for type-safe and more concise access to UI components. This required enabling `viewBinding` in the demo's `build.gradle.kts`.
    - **Lifecycle-Aware Coroutines**: The animation now uses `lifecycleScope`, ensuring the coroutine is automatically canceled when the Activity is destroyed, preventing memory leaks.
    - **State Management**: Replaced multiple `MutableLiveData` instances with a single `LiveData<AnimationState>` data class. This creates a single source of truth for the animation's state, leading to more predictable and maintainable UI updates.
    - **Code Structure and Documentation**: The code has been reorganized into smaller, more focused functions. Extensive KDoc comments have been added to explain the implementation, highlight the use of `SphericalUtil`, and document the modern Android patterns being used.
    
    * Add missing copyright header
    
    * chore: Add missing copyright headers
    dkhawk authored Sep 15, 2025
    Configuration menu
    Copy the full SHA
    686774f View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.18.0 [skip ci]

    # [3.18.0](v3.17.0...v3.18.0) (2025-09-15)
    
    ### Features
    
    * **library:** Add polyline progress utilities to SphericalUtil ([#1588](#1588)) ([686774f](686774f))
    semantic-release-bot committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    9dadc0f View commit details
    Browse the repository at this point in the history
Loading