@@ -0,0 +1,1193 @@
+package fi.nls.oskari.control.view.modifier.param;%0A%0Aimport fi.nls.oskari.annotation.OskariViewModifier;%0Aimport fi.nls.oskari.util.JSONHelper;%0Aimport fi.nls.oskari.view.modifier.ModifierException;%0Aimport fi.nls.oskari.view.modifier.ModifierParams;%0Aimport fi.nls.oskari.view.modifier.ParamHandler;%0Aimport org.json.JSONArray;%0Aimport org.json.JSONObject;%0A%0A@OskariViewModifier(%22timeseries%22)%0Apublic class TimeseriesParamHandler extends ParamHandler %7B%0A    private static final String KEY_TIME = %22time%22;%0A%0A    public boolean handleParam(final ModifierParams params) throws ModifierException %7B%0A        String paramValue = params.getParamValue();%0A        if (paramValue == null) %7B%0A            return false;%0A        %7D%0A        final JSONObject bundleState = getBundleState(params.getConfig(), BUNDLE_TIMESERIES);%0A        final String%5B%5D timeProps = paramValue.split(%22/%22);%0A        if (timeProps.length != 2) %7B%0A            JSONHelper.putValue(bundleState, KEY_TIME, paramValue);%0A            return false;%0A        %7D%0A        JSONArray time = new JSONArray();%0A        time.put(timeProps%5B0%5D);%0A        time.put(timeProps%5B1%5D);%0A        JSONHelper.putValue(bundleState, KEY_TIME, time);%0A        return false;%0A    %7D%0A%7D%0A

Add handler for timeseries parameter