setWebMapController method

void setWebMapController(
  1. int idChannel,
  2. WebOsmController controller
)

Implementation

void setWebMapController(
  int idChannel,
  WebOsmController controller,
) {
  if (!mapsController.containsKey(idChannel)) {
    map = controller;
    mapsController.putIfAbsent(idChannel, () => map!);
  }
}