onMapCl method
Internal callback when user click on map
param:
lat
- latitude on point
lon
- longitude of point
Implementation
@JSExport()
void onMapCl(double lat, double lon) {
if (widget.onMapClick != null) {
widget.onMapClick!(LatLng(lat, lon));
}
}