name property
Retrieves the display name of this landmark.
The name may be localized according to the SDK language settings and can be empty. It is also the label shown on maps for this landmark.
Returns
- String: The landmark name, or an empty string when not set.
Implementation
String get name {
final OperationResult resultString = objectMethod(
pointerId,
'Landmark',
'getName',
);
return resultString['result'];
}
Sets the name for this landmark.
Parameters
name: The landmark name as a string.
Implementation
set name(final String name) {
objectMethod(pointerId, 'Landmark', 'setName', args: name);
}