Real time map over https

When trying to access Real time world map over https, i get the following error in chrome:

XMLHttpRequest cannot load http://domain.com/piwik/plugins/UserCountryMap/svg/world.svg. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://domain.com’ is therefore not allowed access.

What going on is pretty obvious and I am not sure how to fix (ie. change a PIWIK setting). Since I am trying to access over https and it is trying to load the file over http via ajax, the request is being denied by the browser.

Is there a setting to fix this or is this a bug?

Thanks for the report! I created the ticket and fixed the bug: When Real time map is loaded over https, it does not always load the SVG files over ssl · Issue #4926 · matomo-org/matomo · GitHub