WebOverlayController constructor

WebOverlayController(
  1. MethodChannel channel,
  2. WebMapController controller,
  3. void onPoiClick(
    1. String layerId,
    2. String poiId
    )?,
  4. void onLodPoiClick(
    1. String layerId,
    2. String poiId
    )?,
)

Implementation

WebOverlayController(
    this.channel, this.controller, this.onPoiClick, this.onLodPoiClick)
    : _uuid = const Uuid() {
  initalizeOverlayLayer();
  channel.setMethodCallHandler(overlayHandle);
}