12345678910111213141516171819202122232425262728293031323334353637383940 |
- const localTest = false;
- let baseURL = null;
- let websocketUrl = null;
- let tilesUrl = null;
- const tilesMaxLevel = 18;
- const adapterUrl = "http://10.155.32.4:8011/";
- const showModuleName = 0;
- if (localTest) {
- baseURL = "http://192.168.10.14:8082/"
- tilesUrl = "http://localhost:8080/static/cesium/Assets/Textures/NaturalEarthII";
- } else {
- baseURL = "http://10.155.32.4:8082/"
- tilesUrl = "http://10.155.32.4:8070/zhfx/new_tiles";
- }
- websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
- window.__MODE__ = {
- baseURL,
- websocketUrl,
- adapterUrl,
- tilesUrl,
- tilesMaxLevel,
- showModuleName
- };
|