id property

String id

A string that identifies the graphics overlay in the GeoViewController.graphicsOverlays collection.

You can give a graphics overlay an ID. If the collection of graphics overlays in a GeoViewController contains several graphics overlays, you can use the ID to find the one you need.

The default value of id is an empty string. A graphics overlay's id does not need to be unique.

Implementation

String get id {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GraphicsOverlay_getId(_handle, errorHandler);
  });
  return stringHandle.toDartString();
}
void id=(String value)

Implementation

set id(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_setId(
        _handle, coreValue.bytes, errorHandler);
  });
}