Merge pull request #9221 from ahocevar/remove-unused-sortbyzindex

Remove unused sortByZIndex function
This commit is contained in:
Andreas Hocevar
2019-02-15 09:45:26 +01:00
committed by GitHub
2 changed files with 30 additions and 80 deletions

View File

@@ -305,12 +305,4 @@ function getLayerStatesMap(layerStatesArray) {
}, {});
}
/**
* @param {import("../layer/Layer.js").State} state1 First layer state.
* @param {import("../layer/Layer.js").State} state2 Second layer state.
* @return {number} The zIndex difference.
*/
export function sortByZIndex(state1, state2) {
return state1.zIndex - state2.zIndex;
}
export default MapRenderer;