Callback to notify when the map emits a MapEvent.
typedef MapEventCallback = void Function(MapEvent);