Open pamtbaau opened 5 months ago
android
0.19.0+2
MapLibreMController.onFeatureDrag.add(callback)
Using 'layer.dart' of Example:
Add callback:
void _onMapCreated(MapLibreMapController controller) { this.controller = controller; controller.onFeatureTapped.add(onFeatureTap); controller.onFeatureDrag.add(onFeatureDrag); }
void onFeatureDrag( dynamic featureId, { required LatLng current, required LatLng delta, required DragEventType eventType, required LatLng origin, required Point<double> point, }) { print('Feature with id: $featureId is being called'); }
I would expect:
See 'Steps to Reproduce'
Platforms
android
Version of flutter maplibre_gl
0.19.0+2
Bug Description
MapLibreMController.onFeatureDrag.add(callback)
, the callback never gets called.Steps to Reproduce
Using 'layer.dart' of Example:
Add callback:
Expected Results
I would expect:
Actual Results
Code Sample
See 'Steps to Reproduce'