init method

  1. @mustCallSuper
  2. @override
void init()

implement this method,should be start with super.init()

Implementation

@mustCallSuper
@override
void init() {
  _timer = Timer(const Duration(milliseconds: 1250), () async {
    await osmBaseController.initPositionMap(
      initPosition: initPosition,
      userPositionOption: initMapWithUserPosition,
      useExternalTracking: useExternalTracking,
    );
    _timer?.cancel();
  });
}