-
Notifications
You must be signed in to change notification settings - Fork 42
Description
The error started appearing since 4-5 days only. Previously it was working fine.
The exact error is:
Access to XMLHttpRequest at 'https://rocksim.com/mapproxy/melown2015/tms/melown/bing-world/boundlayer.json' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
-> refer image_01
Image_01
Code:
// create vts-browser.
this.browser = vts.browser('visualizer_mapDiv',
{
map: 'https://rocksim.com/store/map-config/bing-terrain/mapConfig.json',
minViewExtent:GlobalData.CloseViewZoomExtent //allow camera little bit closer
});
We even tried it from the examples given on the source website.
https://github.com/melowntech/vts-browser-js/wiki/Examples
But it is also not working.
Refer to following image for error:
Let me know if need any other information as well.
Any help would be appreciated. Thank you...