setSymbolSortKey method

Future<void> setSymbolSortKey(
  1. double symbolSortKey
)

Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When icon-allow-overlap or text-allow-overlap is false, features with a lower sort key will have priority during placement. When icon-allow-overlap or text-allow-overlap is set to true, features with a higher sort key will overlap over features with a lower sort key.

Implementation

Future<void> setSymbolSortKey(double symbolSortKey) =>
    _annotationMessenger.setSymbolSortKey(id, symbolSortKey);