HostMapMessageHandler constructor
HostMapMessageHandler(
- int mapId,
- StreamController<
MapEvent< streamController, {Object?> > - required TileOverlay? tileOverlayProvider(
- TileOverlayId tileOverlayId
Creates a new handler that listens for events from map mapId, and
broadcasts them to streamController.
Implementation
HostMapMessageHandler(
this.mapId,
this.streamController, {
required this.tileOverlayProvider,
}) {
MapsCallbackApi.setUp(this, messageChannelSuffix: mapId.toString());
}