You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @saghro, you can subscribe to map tap(click) events by providing your callback function to onTapListener constructor parameter of MapWidget, please refer to gestures_example.dart for more details.
Error: Method
addOnMapClickListener
not defined for classMapController
.Environment
Flutter version: 3.24.4
Mapbox Maps Flutter SDK version: 2.3.0
Platform: iOS 13.0
Expected Behavior
The map should listen for click events and trigger the _handleMapClick callback when the user taps on the map.
Initialization with Click Listener
The text was updated successfully, but these errors were encountered: