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

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

No files matched your search

-8
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;