selectable property

bool? get selectable

Get the location's settings object

Implementation

bool? get selectable => _properties?.locationSettings?.selectable;
set selectable (bool? selectable)

Set whether the location is selectable

Implementation

set selectable(bool? selectable) {
  _properties?.locationSettings?.selectable = selectable;
  _properties?.locationSettings ??=
      MPLocationSettings(selectable: selectable);
  LocationPlatform.instance
      .setLocationSettingsSelectable(id, _properties!.locationSettings!);
}