moveBy returns PlatformException
Code:
mapboxMap.moveBy( ScreenCoordinate( x: 50, y: 70, ), MapAnimationOptions(), );
returns:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(0, Not available., null, null) #0 _AnimationManager.moveBy (package:mapbox_maps_flutter/src/pigeons/map_interfaces.dart:2326:7)
Version of package: 2.3.0 Platform: iOS
Hi @David-Prelinger, this method is indeed not available on iOS platform.
Issue persists with moveby, rorateby, scaleby and pitchby methods too. Are you planning any fix ? Similar issues exists for a year ?
Hi @David-Prelinger, this method is indeed not available on iOS platform.
So why is this methods exist for flutter and throwing errors?
Would appreciate an update on this. At least add docu comments to the functions or throw comprehensible exceptions when on ios. On the latest library version the methods just fail silently.