Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Click Position and Hit Detection on iPhone Mini #2640

Merged
merged 17 commits into from
May 24, 2024

Conversation

inforithmics
Copy link
Contributor

@inforithmics inforithmics commented May 19, 2024

Things done:

  1. Added a sample that shows where the mouse is clicked.
  2. Added Fix for iOS Mini
  3. Disabled GPU Rendering for iOS because in iPhone Mini it is totally broken.
  4. Fixes this [UNO] MapInfo tapable area is off from symbol #2638

@inforithmics inforithmics changed the title WIP ios Uno Investigation: https://github.com/Mapsui/Mapsui/issues/2638 Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. May 20, 2024
@@ -13,7 +13,7 @@
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>10.0</string>
<string>13.0</string>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discovered that the min ios Version has changed to version 13

Copy link
Member

@pauldendulk pauldendulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you want to merge this, but if so try to fix the warnings.


public class TouchPointSample : ISample
{
private static Map _map;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the _map need to be static?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

public class TouchPointSample : ISample
{
private static Map _map;
private TextBoxWidget _label;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you want this to be merged because it is mainly to show a bug. But if this is merged we should get rid of nullable and reassignment warnings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@inforithmics inforithmics changed the title Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. Edit Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. May 20, 2024
@inforithmics inforithmics changed the title Edit Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. WIP Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. May 20, 2024
@inforithmics inforithmics changed the title WIP Sample: Show Mouse Click Position and test Hit Detection, for debugging PixelDensity Problems. Fix: Click Position and Hit Detection on iPhone Mini May 22, 2024
@pauldendulk pauldendulk merged commit 18c23cb into Mapsui:main May 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants