In order to disable error:

Access to XMLHttpRequest at 'http://test:2021/api/GoogleMaps' from origin 'http://gallery.milosev.com:9090' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

In Windows 10 first kill the chrome:

taskkill /F /IM chrome.exe

Start chrome like:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp --allow-file-access-from-file.