wdtinc / skywise-swarm-maps-js Goto Github PK
View Code? Open in Web Editor NEWPlugin to display Skywise Tiles on multiple mapping platforms
Plugin to display Skywise Tiles on multiple mapping platforms
Hi,
the example application is unable to handle the WDT responses when wrong APP Key/ID are used because the response has no Access-Control-Allow-Origin header set.
PLAIN URL
https://skywisetiles.wdtinc.com/swarmweb/valid_frames?product=nalowaltradarcontours&format=JSON
CURL
curl -I -X GET 'https://skywisetiles.wdtinc.com/swarmweb/valid_frames?product=nalowaltradarcontours&format=JSON' -H 'Host: skywisetiles.wdtinc.com' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0' -H 'Accept: /' -H 'Accept-Language: de,en-US;q=0.7,en;q=0.3' --compressed -H 'app_id: INVALID_APP_ID' -H 'app_key: INVALID_APP_KEY' -H 'Origin: http://localhost:8081' -H 'Referer: http://localhost:8081/examples/google.html' -H 'Connection: keep-alive'
I think CORS should be enabled in all responses to let the client application decide how the react on a 403.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.