setOnLocationSelectedListener method
Set a location selection listener, invoked when a location is selected, either by tapping on it, or programmatically with selectLocation
Implementation
void setOnLocationSelectedListener(OnLocationSelectedListener? listener,
[bool? consumeEvent]) {
MapcontrolPlatform.instance
.setOnLocationSelectedListener(listener, consumeEvent);
}