p-lr / p-lr/MapCompose

Expose onDoubleTap callback function

Open
#149 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
283
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi Pierre,

I would like to expose a callback function for onDoubleTap gestures. In my use case, I would prefer if MapCompose could be configured to zoom to the maximum zoom scale when there is a double tap. With an onDoubleTap callback function, we will be able to achieve this.

Does this sound ok? I will submit a PR if so.

Thank you for your efforts with MapCompose

Contributor guide

No contributing guide indexed for this repository

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

Start by locating MapCompose's double-tap gesture handling and the public map configuration or callback entry points; no specific files or tests are named in the issue. Confirm where the callback should be exposed and how callers can use it to control zoom, then add coverage showing that a double tap invokes the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.