QGIS2Threejs is any way to load QGIS2Threejs page without Planned maintenance scheduled April...

How to market an anarchic city as a tourism spot to people living in civilized areas?

Can I throw a sword that doesn't have the Thrown property at someone?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Statistical model of ligand substitution

Are my PIs rude or am I just being too sensitive?

I'm having difficulty getting my players to do stuff in a sandbox campaign

How is simplicity better than precision and clarity in prose?

Losing the Initialization Vector in Cipher Block Chaining

Can a 1st-level character have an ability score above 18?

Estimate capacitor parameters

What was the last x86 CPU that did not have the x87 floating-point unit built in?

How does modal jazz use chord progressions?

Autumning in love

Was credit for the black hole image misattributed?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Would an alien lifeform be able to achieve space travel if lacking in vision?

Do working physicists consider Newtonian mechanics to be "falsified"?

Why use gamma over alpha radiation?

How do I automatically answer y in bash script?

Array/tabular for long multiplication

Can the prologue be the backstory of your main character?

Direct Experience of Meditation

Limit for e and 1/e

How to add zeros to reach same number of decimal places in tables?



QGIS2Threejs is any way to load QGIS2Threejs page without



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Using MapProxy to get around the OpenLayers 3 WebGL cross-origin issue when loading third party tilesAvoiding CORS error with OpenLayers 3?Qgis2threejs “disk object”Qgis2threejs initial zoomCarto SQL fails due to CORS error in local CartoDB?Qgis2threejs plugin and 3d mapsDifferent fonts in QGIS2threejsQGIS 3.0 qgis2threejsAvoid CORS problems using javascript code loading layers in OpenLayersQGIS2THREEJS Installation Windows Problem





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















The Google Chrome I have installed supports WebGL.



The related error is the following.



three.min.js:645 Access to XMLHttpRequest at 'file:///D:/WebDTM/data/index/scene.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.


I think is related with this:



// load the scene
app.loadJSONFile("./data/index/scene.json", function () {
app.start();

// North arrow inset
if (Q3D.Config.northArrow.visible) app.buildNorthArrow(document.getElementById("northarrow"), app.scene.userData.rotation);
});


This seems to be related CORS policy noot sure if I can request a data from a file directly. I wonder if is required any thing to do that.



Is there any way to fix this so it can run in any browser without having to built this in a webserver?










share|improve this question





























    0















    The Google Chrome I have installed supports WebGL.



    The related error is the following.



    three.min.js:645 Access to XMLHttpRequest at 'file:///D:/WebDTM/data/index/scene.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.


    I think is related with this:



    // load the scene
    app.loadJSONFile("./data/index/scene.json", function () {
    app.start();

    // North arrow inset
    if (Q3D.Config.northArrow.visible) app.buildNorthArrow(document.getElementById("northarrow"), app.scene.userData.rotation);
    });


    This seems to be related CORS policy noot sure if I can request a data from a file directly. I wonder if is required any thing to do that.



    Is there any way to fix this so it can run in any browser without having to built this in a webserver?










    share|improve this question

























      0












      0








      0








      The Google Chrome I have installed supports WebGL.



      The related error is the following.



      three.min.js:645 Access to XMLHttpRequest at 'file:///D:/WebDTM/data/index/scene.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.


      I think is related with this:



      // load the scene
      app.loadJSONFile("./data/index/scene.json", function () {
      app.start();

      // North arrow inset
      if (Q3D.Config.northArrow.visible) app.buildNorthArrow(document.getElementById("northarrow"), app.scene.userData.rotation);
      });


      This seems to be related CORS policy noot sure if I can request a data from a file directly. I wonder if is required any thing to do that.



      Is there any way to fix this so it can run in any browser without having to built this in a webserver?










      share|improve this question














      The Google Chrome I have installed supports WebGL.



      The related error is the following.



      three.min.js:645 Access to XMLHttpRequest at 'file:///D:/WebDTM/data/index/scene.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.


      I think is related with this:



      // load the scene
      app.loadJSONFile("./data/index/scene.json", function () {
      app.start();

      // North arrow inset
      if (Q3D.Config.northArrow.visible) app.buildNorthArrow(document.getElementById("northarrow"), app.scene.userData.rotation);
      });


      This seems to be related CORS policy noot sure if I can request a data from a file directly. I wonder if is required any thing to do that.



      Is there any way to fix this so it can run in any browser without having to built this in a webserver?







      qgis2threejs cors webgl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      ePascoalePascoal

      4761418




      4761418






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318762%2fqgis2threejs-is-any-way-to-load-qgis2threejs-page-without%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318762%2fqgis2threejs-is-any-way-to-load-qgis2threejs-page-without%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          (145452) 2005 RN43 Классификация | Примечания | Ссылки |...

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Энтрерриос (город) Содержание История | Географическое...