Skip to content

[BUG] Map callbacks with coordinate arguments do not work correctly when invoked on 'non-primary' world #2008

@JaffaKetchup

Description

@JaffaKetchup

What is the bug?

The onTap (and probably the rest of the handlers in MapOptions) callback in the Markers page in the example does not add the marker to the location tapped, if that location is not in the main world. It adds it to the closest point in the main world.

See #2000 (review).

Note that this bug does not yet exist in a released version.

How can we reproduce it?

Zoom out in the Markers example, so that a world is not the main 'focus' (centered) in the view. Tap to add a marker to this world. It is added along the anti-meridian at the same latitude, in the main world.

Do you have a potential solution?

No response

Platforms

All (unreleased)

Severity

Minimum: Allows normal functioning

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions