zIndex property

int zIndex
inherited

All elements are displayed on the map in order of their zIndex, with higher values displaying in front of markers with lower values. By default, elements are displayed according to their vertical position on screen, with lower elements appearing in front of markers further up the screen.

Implementation

int get  zIndex=>_zIndex;
void zIndex=(int value)
inherited

Implementation

set zIndex(int value){
  _zIndex=value;
  _sendData('setDrawElementZIndex',{'zIndex':value});
}