init method

void init(
  1. OsmWebWidgetState osmWebFlutterState,
  2. int idMap
)

Implementation

void init(OsmWebWidgetState osmWebFlutterState, int idMap) {
  debugPrint("idMap $idMap");
  OSMPlatform.instance.init(mapIdMixin);
  //mapIdMixin = idMap;
  this.setWidgetState(osmWebFlutterState);
  channel = MethodChannel('${FlutterOsmPluginWeb.getViewType(mapIdMixin)}');
  debugPrint("in init _mapId $mapIdMixin");
}