|
|
@ -86,7 +86,7 @@ const checkList = ref([]);
|
|
|
|
const dialogVisible = ref(false);
|
|
|
|
const dialogVisible = ref(false);
|
|
|
|
const title = ref("现场视频");
|
|
|
|
const title = ref("现场视频");
|
|
|
|
//地图配置
|
|
|
|
//地图配置
|
|
|
|
const configUrl = publicPath + "/lib/config/config.json";
|
|
|
|
const configUrl = "lib/config/config.json";
|
|
|
|
let mapData = null;
|
|
|
|
let mapData = null;
|
|
|
|
let mapLayer = {};
|
|
|
|
let mapLayer = {};
|
|
|
|
|
|
|
|
|
|
|
@ -127,7 +127,7 @@ const initGd = () => {
|
|
|
|
// 渲染徐汇区面
|
|
|
|
// 渲染徐汇区面
|
|
|
|
const initAreaCover = async () => {
|
|
|
|
const initAreaCover = async () => {
|
|
|
|
const jsonData = await mars3d.Util.fetchJson({
|
|
|
|
const jsonData = await mars3d.Util.fetchJson({
|
|
|
|
url: `${publicPath}/lib/geoJson/xuhuiArea.json`,
|
|
|
|
url: `lib/geoJson/xuhuiArea.json`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const arr = mars3d.Util.geoJsonToGraphics(jsonData); // 解析geojson
|
|
|
|
const arr = mars3d.Util.geoJsonToGraphics(jsonData); // 解析geojson
|
|
|
|
|
|
|
|
|
|
|
@ -317,7 +317,7 @@ const inintEntity = (data, fill = false, height) => {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
const initStyleFeatures = async () => {
|
|
|
|
const initStyleFeatures = async () => {
|
|
|
|
const jsonData = await mars3d.Util.fetchJson({
|
|
|
|
const jsonData = await mars3d.Util.fetchJson({
|
|
|
|
url: `${publicPath}/lib/geoJson/park-rectangle.json`,
|
|
|
|
url: `lib/geoJson/park-rectangle.json`,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const arr = mars3d.Util.geoJsonToGraphics(jsonData); // 解析geojson
|
|
|
|
const arr = mars3d.Util.geoJsonToGraphics(jsonData); // 解析geojson
|
|
|
|
inintEntity(arr[0], false);
|
|
|
|
inintEntity(arr[0], false);
|
|
|
|