Snap can be optionally enabled selecting one "leading layer" from the layers list. When no leading layer is selected no snapping should be applied to the Time Marker.
Snapping requires knowing the previous / next nearest point in time for the selected "Guide Layer". I case times are provided by configuration (layer config) they will be directly used, otherwise the "GetDomainValues" WMTS MultiDim method will be used to obtain the next and previous point. The nearest one will be selected for snapping.
NOTE: The fallback to the standard GetCapabilities request will be managed later.
Snap can be optionally enabled selecting one "leading layer" from the layers list. When no leading layer is selected no snapping should be applied to the Time Marker.
Snapping requires knowing the previous / next nearest point in time for the selected "Guide Layer". I case times are provided by configuration (layer config) they will be directly used, otherwise the "GetDomainValues" WMTS MultiDim method will be used to obtain the next and previous point. The nearest one will be selected for snapping.
NOTE: The fallback to the standard GetCapabilities request will be managed later.