moveMapLayerToIndex Method
Reorder map layers
moveMapLayerToIndex(fromIndex: number, toIndex: number, isOverlay: boolean): void
Parameter | Type | Description |
---|---|---|
fromIndex | number | index of map layer to move |
toIndex | number | insert index. If equal to length of map array the map layer is moved to end of array. |
isOverlay | boolean |
Returns - void
Defined in
Last Updated: 20 June, 2023