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

[BUG] Bad implementation onFeatureTap on web #529

Open
BartoszStasiurka opened this issue Dec 10, 2024 · 0 comments
Open

[BUG] Bad implementation onFeatureTap on web #529

BartoszStasiurka opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BartoszStasiurka
Copy link
Contributor

Platforms

web

Version of flutter maplibre_gl

master

Bug Description

There are two things:
First is error:

The argument type 'void Function(dynamic, Point<double>, LatLng, String)' can't be assigned to the parameter type 'OnFeatureInteractionCallback'. 

The error is probably related to the changes #475

Second:
onFeatureTap method does not return featureId. It is always null.

Steps to Reproduce

Just go to exemple project and try to run in web platform.

Expected Results

No errors and return featureId

Actual Results

Errors on web and featureId always null.

Code Sample

// Paste your code here
@BartoszStasiurka BartoszStasiurka added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant