Refactor point click logic for temporal raster layer / rain