| | |
| | | var colorBar = colorInfo; |
| | | var valMax = byteArray[byteArray.length - 1]; |
| | | var valMin = byteArray[byteArray.length - 2]; |
| | | debugger |
| | | |
| | | if (colorEqually) { |
| | | var delta = valMax - valMin; |
| | | delta = delta / (colorBar.length - 1); |
| | |
| | | //é
ç½®æä»¶å°å |
| | | const config = { |
| | | mapMoon: webUrl + "/mapscreen/index.html", |
| | | //æ¤çä½åå§åå è½½å¾ç |
| | | imgUrl: "Workers/image/earth.jpg", |
| | | //licenseè®¸å¯ |
| | | licenseServer: "http://183.162.245.49:18080", |
| | | |
| | | //SDKè®¸å¯ |
| | | StaticFileBaseUrl: webUrl + "/CIMSDK/", |
| | | |
| | | proxy: "http://" + webHost + "/MoonServer", |
| | | |
| | | BASE_URL: "http://" + webHost + "/MoonServer", |
| | | |
| | | conditions: [ |
| | | ["=", "<>", "like"], |
| | | [">=", ">", " =", "<=", "<", "<>"], |
| | |
| | | //ç©ºé´æ¥è¯¢å±æ§å®ä½ |
| | | spaceLocation(res) { |
| | | var name = 'ç©ºé´æ¥è¯¢'; |
| | | debugger |
| | | |
| | | this.setClearLocation(name); |
| | | switch (res.type) { |
| | | case 'MultiPolygon': |
| | |
| | | import { getToken } from "@/utils/auth"; |
| | | //é
ç½®æä»¶å°å |
| | | import config from "../../../../public/config/config"; |
| | | import config from "../../../../public/config/config.js"; |
| | | import { Map, View } from "ol"; //å°å¾,è§å¾ |
| | | import OSM from "ol/source/OSM"; //å¯ä»¥çè§£ä¸ºæ°æ®æº,å°±æ¯ä¸å¼ å¾ç |
| | | import TileLayer from "ol/layer/Tile"; //å¯ä»¥ç解为å¾å± |
| | |
| | | } |
| | | |
| | | export function setToken(token) { |
| | | debugger |
| | | |
| | | return window.sessionStorage.setItem(TokenKey, token); |
| | | } |
| | | |
| | |
| | | import router from "@/router/index"; |
| | | |
| | | import { getToken } from "@/utils/auth"; |
| | | import config from "../../public/config/config"; |
| | | import config from "../../public/config/config.js"; |
| | | // create an axios instance |
| | | const service = axios.create({ |
| | | baseURL: config.BASE_URL, // apiçbase_url |