engine_owner library

The engine of a map widget other than Vmap: the flutter_map layer owns its engine through VmapEngineOwner, as Vmap does, and takes its gestures from package:vmap/gestures.dart. The options it makes an engine with are VmapEngineOptions, from package:vmap/vmap.dart.

Classes

VmapEngineOwner
The engine a map widget draws with: an app's own, or one it makes from VmapEngineOptions and keeps in step with the widget. Either is given the widget's markers. It lets memory go when the system runs short, redraws labels when the system's fonts change, and keeps the widget's listener on whichever engine draws. Make one in initState, update it in didUpdateWidget and dispose it with the widget.