Enable Live Data
void enableLiveData() {
_mapControl
..enableLiveData(LiveDataDomainTypes.availability.name)
..enableLiveData(LiveDataDomainTypes.occupancy.name)
..enableLiveData(LiveDataDomainTypes.position.name);
}void onMapControlReady(MPError? error) async {
if (error == null) {
// with mapcontrol loaded, we can enable livedata
enableLiveData();
...
} else {
...
}
}
Summary
Last updated
Was this helpful?