Real time map hour Restriction

Hi team,
My customer wants to know in real time map framework, how you managed the number of last hour in Geo-located ( like how to calculate to 108 in Geo-located visits of last 108 hours) And is it possible to restrict the hour like 4,5 because paramters like period and date didnot work with the framework realtime visitor. Thank you very much