p-lr / p-lr/MapCompose

Support for tap regions

Open
#118 2 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

Hello,
First we are using com.qozix.tileview.TileView, but want to move to a newer library to mitigate the risk of using an older library that is not supported.
Since we are using Compose heavily this library caught my eye.
My Question: do you think this library would be able to extended to support a tap listener when a tap occurs in a rectangle (and the rectangle may cross tiles)? In a map scenario, image that you have metadata about the map and that you want to display a bottomsheet that changes the info displayed as the user taps on areas of the image. For example they tap near a city name and info about the city is displayed.
The tap region would not be visible (no marker, callout, or path). It would virtual data associated with the image.
I guess I could implement MapUI.content. Yes?

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 reading the MapUI.content entry point mentioned in the issue and inspect the library's existing interaction support for markers, paths, or other map content. Determine whether invisible rectangular regions that cross tiles fit the current content model; done would require a defined API and behavior for receiving taps and identifying the associated region.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.