mapbox / mapbox/mapbox-maps-ios

Show and hide the scale bar dynamically while zooming

Open
#1,812 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged feature :green_apple:
Dominant language
Swift
Stars
601
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I just want to show the scale bar while the user is zooming. And when the user stops zooming I want the scale bar to be hidden, like Apple Maps and Google Maps.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the scale bar implementation and the map zoom event entry points, then trace how visibility is currently controlled. Done means the scale bar appears during zooming and hides after zooming stops, with tests covering the behavior if the project provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.