You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recently , a problem puzzled me.
I use docker toolbox to run openmaptiles-server,and mapbox develop for native. In my computer ,mapbox style.json file(url,sprite,glyphs)connect to openmaptiles-server. but in local area network. my mates cannot load map resource ,in firefox browser console , it show:
Intercepting cross source requests。The same-origin policy prohibits reading openmaptiles-server resource
I search this question.there are some solutions.
in http request header add "Access-Control-Allow-Origin:*" ,but style.json unable to add header.
in server's root folder add crossdomain.xml file
so in openmaptiles-server in windows docker toolbox or in ubuntu docker environment ,how can I resolve it.
The text was updated successfully, but these errors were encountered:
recently , a problem puzzled me.
I use docker toolbox to run openmaptiles-server,and mapbox develop for native. In my computer ,mapbox style.json file(url,sprite,glyphs)connect to openmaptiles-server. but in local area network. my mates cannot load map resource ,in firefox browser console , it show:
Intercepting cross source requests。The same-origin policy prohibits reading openmaptiles-server resource
I search this question.there are some solutions.
in http request header add "Access-Control-Allow-Origin:*" ,but style.json unable to add header.
in server's root folder add crossdomain.xml file
so in openmaptiles-server in windows docker toolbox or in ubuntu docker environment ,how can I resolve it.
The text was updated successfully, but these errors were encountered: