nasa-gibs / gibs-web-examples

Examples of using GIBS with various web mapping libraries
Other
187 stars 71 forks source link

CORS issues running locally #30

Closed scottnc27603 closed 5 years ago

scottnc27603 commented 5 years ago

I'm trying to run the examples(cesium) locally and I'm running into CORS problems which isn't too surprising. Is there anyway to get around this problem?

mike-mcgann commented 5 years ago

Are you directly opening the HTML files in the web browser? If so, install the mini web-server with npm install and npm start and that should work.

scottnc27603 commented 5 years ago

I'm not exactly what I did last night, but I got the samples running today. Some tiles were missing here and there, but at least I got some imagery layers. Thanks for the email. I want to load imagery from AVHRR Satellite data, and Modis Satellite Data. I don'r guess you know anything about that... haha

On Fri, Aug 30, 2019 at 7:09 AM Mike McGann notifications@github.com wrote:

Are you directly opening the HTML files in the web browser? If so, install the mini web-server with npm install and npm start and that should work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nasa-gibs/gibs-web-examples/issues/30?email_source=notifications&email_token=AAJYBXOU27EOOEORHK62KW3QHD5W5A5CNFSM4ISH6DGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RLDPA#issuecomment-526561724, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJYBXPRTJ43EHPICWAV6F3QHD5W5ANCNFSM4ISH6DGA .

mike-mcgann commented 5 years ago

Glad you got it working.