Real Time Map and GEOIP how to get working when using cron?

I browsed the demo.piwik.org and found that the Real Time Map is not working, I also have my own install and its not working either.

Iam using a cron setup, rather then a js embedded code.

Questions:

a.) With this in mind how do I get the real time visitor map working?
b.) I saw the instructions for installing geoip but I think this is suitable when using an JS embedded code. So when importing via a cron how do I add the relevent locations of each IP?

Thanks.

You must setup geo location: Geo Locate your visitors - Analytics Platform - Matomo