Skip to content

[Bug] collisionBehavior, for whatever reason, isn't binding properly to the underlying AdvancedMarkerElement #569

@bishoym

Description

@bishoym

Description

Every other prop seems to be binding properly, except collision behaviour.

Bizarre.

Steps to Reproduce

Here's the codesandbox demonstrating the problem: https://codesandbox.io/p/sandbox/google-maps-collision-marker-test-2fy8lg

You can see that creating the markers and binding collisionBehavior imperatively makes it work, while the wrapped React component doesn't.

Environment

  • Library version: @vis.gl/[email protected]
  • Google maps version: weekly
  • Browser and Version: Chromium (Arc v129.0.6668.90)
  • OS: MacOS Version 14.6.1

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions