Map overlays are not shown in some devices

More
3 years 10 months ago #14132 by ivo
Hi!
I have created map overlays, but I noticed that the overlays are not shown in some devices.
With the console of chrome I found these errors:

DevTools failed to load SourceMap: Could not load content for https://...../bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Access to XMLHttpRequest at 'https://........../index.php?option=com_zhosmmap&no_html=1&format=raw&task=getAJAXPathList' from origin 'https://............' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Can you help me to solve the issue?

Thanks in advance

Ivo

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #14134 by Dima
Hi

You can read about CORS, just search the net.
In you case you try to show for exampe KML not from your site (domain)
Just upload your files to your site and use it

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds
Powered by Kunena Forum