[Bug] Oversized clickbox on custom marker cluster in example

Open
#721 1 comment 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend, web-dev

Research direction

Start by reproducing the hover behavior in the custom marker clustering example at the linked URL, using the reported library, browser, and Google Maps versions where possible. Investigate how the custom cluster marker's anchor and clickable area are defined; done means the hover and clickbox align with the visible cluster marker without affecting other clusters.

Written by the indexing model from the issue text.

Description

bug
Description

When following the example, the clickbox for each cluster is oversized just above the marker. It seems that this is related to the anchor being in the middle.

Image

I haven't found a way to resolve this. Does anyone have an idea? Thank you. This repo has been phenomenal.

Steps to Reproduce

The easiest way to replicate is to go to the example and hover your cursor slightly above any cluster
https://visgl.github.io/react-google-maps/examples/custom-marker-clustering

Environment
  • Library version: v1.5.2
  • Google maps version: weekly
  • Browser and Version: Chrome 133.0.6943.142
  • OS: Mac OSX
Logs

Dominant language
TypeScript
Stars
2k
Forks
195
Avg merge
6h 26m
Merged PRs (30d)
3

Getting set up

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.

More from visgl/react-google-maps

All issues in visgl/react-google-maps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.