setImageFromIcon method

void setImageFromIcon(
  1. GemIcon icon
)

Sets the primary image for this landmark from a predefined icon.

See GemIcon for available icons.

Parameters

  • icon: GemIcon object representing the icon to use.

Implementation

void setImageFromIcon(final GemIcon icon) {
  objectMethod(pointerId, 'Landmark', 'setImageFromIconId', args: icon.id);
}