setId method

Layer setId(
  1. String value
)

Sets the stable id used for lookup and hit testing.

Implementation

Layer setId(String value) {
  id = value;
  return this;
}