digitransit-ui/app/action/MapLayerActions.js
Joona Olkkola cf537528a6 Combined the logic to check which layers are enabled.
Removed the state from the selection dialog.
2018-09-10 11:49:38 +03:00

5 lines
169 B
JavaScript

export const updateMapLayers = (actionContext, mapLayerSettings) => {
actionContext.dispatch('UpdateMapLayers', mapLayerSettings);
};
export default updateMapLayers;