new mars3d.graphic.FixedRoute({的position长度超过一百条浏览器会卡死的解决方案

问题场景描述:

FixedRoute的position数据已经很精细时,会导致卡死的问题

解决方案:

1.

数据已经很精细时,可以不用autoSurfaceHeight来计算,如果非要用,可以加个minDistance: 200参数。

  fixedRoute.autoSurfaceHeight({ minDistance: 200 }).then(function (e) {startFly(fixedRoute)})

相关链接:

http://mars3d.cn/editor-vue.html?key=ex_7_5_5&id=graphic/custom/fixedRoute-ground

问题position:  

[[113.160166,36.393681,2000],[113.160652,36.402682,2000],[113.161138,36.411684,2000],[112.926933,35.334259,2000],[112.924667,35.343061,2000],[112.924567,35.352066,2000],[112.924879,35.361074,2000],[112.925192,35.370083,2000],[112.925504,35.379092,2000],[112.926303,35.388072,2000],[112.928366,35.396924,2000],[112.930459,35.405772,2000],[112.932551,35.41462,2000],[112.934645,35.423468,2000],[112.936738,35.432316,2000],[112.938832,35.441164,2000],[112.940927,35.450012,2000],[112.943022,35.458859,2000],[112.945117,35.467707,2000],[112.947213,35.476555,2000],[112.949907,35.485283,2000],[112.954443,35.493488,2000],[112.959381,35.501545,2000],[112.96432,35.509601,2000],[112.96926,35.517657,2000],[112.9742,35.525714,2000],[112.979142,35.53377,2000],[112.984085,35.541825,2000],[112.989029,35.549881,2000],[112.993575,35.558083,2000],[112.996806,35.566699,2000],[112.999959,35.575335,2000],[113.003114,35.58397,2000],[113.006093,35.592645,2000],[113.007944,35.601527,2000],[113.009649,35.610431,2000],[113.009677,35.619414,2000],[113.008086,35.628332,2000],[113.006474,35.637247,2000],[113.004333,35.646079,2000],[113.000348,35.65447,2000],[112.995225,35.662453,2000],[112.990078,35.670426,2000],[112.984944,35.678405,2000],[112.980823,35.686756,2000],[112.977273,35.695289,2000],[112.972808,35.703525,2000],[112.968218,35.711718,2000],[112.964696,35.720259,2000],[112.961228,35.728815,2000],[112.95776,35.737372,2000],[112.954199,35.745902,2000],[112.949052,35.75386,2000],[112.943872,35.761797,2000],[112.941912,35.770623,2000],[112.942019,35.779632,2000],[112.940386,35.788539,2000],[112.938587,35.79743,2000],[112.936739,35.806307,2000],[112.932987,35.814781,2000],[112.930591,35.823548,2000],[112.931316,35.83251,2000],[112.934667,35.841091,2000],[112.938365,35.849584,2000],[112.942064,35.858078,2000],[112.945763,35.866571,2000],[112.950393,35.874735,2000],[112.956956,35.881988,2000],[112.963739,35.889111,2000],[112.969838,35.896613,2000],[112.974594,35.90475,2000],[112.979319,35.912901,2000],[112.984044,35.921051,2000],[112.988771,35.929201,2000],[112.993498,35.937351,2000],[112.998227,35.945501,2000],[113.002956,35.95365,2000],[113.00749,35.961869,2000],[113.009363,35.970708,2000],[113.007882,35.979619,2000],[113.006562,35.988542,2000],[113.008683,35.997344,2000],[113.014233,36.005098,2000],[113.0226,36.010949,2000],[113.032863,36.014252,2000],[113.043889,36.015146,2000],[113.054953,36.01577,2000],[113.065802,36.017582,2000],[113.076432,36.020147,2000],[113.085999,36.024625,2000],[113.093238,36.031397,2000],[113.097351,36.039721,2000],[113.097885,36.04868,2000],[113.095217,36.057412,2000],[113.092966,36.066216,2000],[113.093412,36.075196,2000],[113.096566,36.083812,2000],[113.100892,36.09211,2000],[113.105222,36.100407,2000],[113.110548,36.10829,2000],[113.118084,36.114876,2000],[113.126923,36.120329,2000],[113.134826,36.126634,2000],[113.140823,36.134196,2000],[113.14514,36.142496,2000],[113.149312,36.150847,2000],[113.153485,36.159197,2000],[113.157559,36.167579,2000],[113.159539,36.176414,2000],[113.158369,36.185343,2000],[113.155039,36.193938,2000],[113.153077,36.202783,2000],[113.153872,36.211747,2000],[113.156838,36.220428,2000],[113.160007,36.229064,2000],[113.163177,36.237701,2000],[113.16616,36.246378,2000],[113.167115,36.25534,2000],[113.167512,36.264341,2000],[113.170053,36.273094,2000],[113.173573,36.281642,2000],[113.176269,36.290373,2000],[113.177147,36.299345,2000],[113.176174,36.30831,2000],[113.173376,36.31702,2000],[113.168832,36.325234,2000],[113.163112,36.332964,2000],[113.157447,36.34072,2000],[113.153819,36.349206,2000],[113.153295,36.358176,2000],[113.155501,36.366998,2000],[113.158068,36.375766,2000],[113.159625,36.384682,2000],[113.161625,36.420685,2000],[113.162111,36.429687,2000],[113.162598,36.438688,2000],[113.163084,36.44769,2000],[113.163571,36.456691,2000],[113.164058,36.465692,2000],[113.164222,36.474695,2000],[113.161778,36.483455,2000],[113.156375,36.491303,2000],[113.148451,36.497604,2000],[113.138648,36.501845,2000],[113.127762,36.503696,2000],[113.11663,36.504335,2000],[113.105801,36.506402,2000],[113.096048,36.510726,2000],[113.088077,36.516994,2000],[113.082466,36.524752,2000],[113.078474,36.533166,2000],[113.074524,36.541594,2000],[113.070817,36.550089,2000],[113.069126,36.558976,2000],[113.069905,36.567946,2000],[113.072615,36.576684,2000],[113.075495,36.58539,2000],[113.078376,36.594095,2000],[113.081258,36.602801,2000],[113.08414,36.611506,2000],[113.087023,36.620211,2000],[113.089907,36.628916,2000],[113.092791,36.637621,2000],[113.095676,36.646326,2000],[113.098561,36.655031,2000],[113.101447,36.663736,2000],[113.103351,36.672598,2000],[113.102813,36.681579,2000],[113.09983,36.690243,2000],[113.094549,36.698165,2000],[113.087414,36.705096,2000],[113.079946,36.711806,2000],[113.071331,36.717511,2000],[113.061128,36.721168,2000],[113.050598,36.724221,2000],[113.040067,36.727274,2000],[113.029674,36.73061,2000],[113.019426,36.734235,2000],[113.009177,36.73786,2000],[112.998927,36.741483,2000],[112.988676,36.745105,2000],[112.978423,36.748727,2000],[112.96817,36.752348,2000],[112.957916,36.755967,2000],[112.947661,36.759586,2000],[112.937405,36.763204,2000],[112.927148,36.766822,2000],[112.91689,36.770438,2000],[112.906631,36.774053,2000],[112.896371,36.777668,2000],[112.885794,36.780576,2000],[112.874674,36.781576,2000],[112.863554,36.782577,2000],[112.852942,36.785418,2000],[112.842418,36.788495,2000],[112.831799,36.791362,2000],[112.821702,36.79521,2000],[112.813134,36.800977,2000],[112.806663,36.808301,2000],[112.802661,36.816694,2000],[112.79969,36.825381,2000],[112.79672,36.834069,2000],[112.793749,36.842756,2000],[112.790778,36.851443,2000],[112.787805,36.86013,2000],[112.784832,36.868817,2000],[112.78243,36.877607,2000],[112.781539,36.886587,2000],[112.780757,36.895575,2000],[112.78125,36.904564,2000],[112.782733,36.913488,2000],[112.785334,36.922252,2000],[112.78796,36.931011,2000],[112.790587,36.93977,2000],[112.793214,36.948529,2000],[112.795772,36.957301,2000],[112.797608,36.966188,2000],[112.799314,36.975092,2000],[112.801021,36.983997,2000],[112.802722,36.992902,2000],[112.803108,37.001884,2000],[112.801207,37.010758,2000],[112.799083,37.019605,2000],[112.798005,37.028567,2000],[112.797426,37.037564,2000],[112.797716,37.046566,2000],[112.799125,37.0555,2000],[112.801195,37.064355,2000],[112.802767,37.073269,2000],[112.802543,37.082265,2000],[112.800459,37.091108,2000],[112.796698,37.099593,2000],[112.792582,37.107977,2000],[112.788464,37.116361,2000],[112.784346,37.124744,2000],[112.780079,37.133078,2000],[112.774125,37.140713,2000],[112.76847,37.148489,2000],[112.763831,37.156691,2000],[112.761077,37.165411,2000],[112.760328,37.174394,2000],[112.759958,37.183398,2000],[112.759589,37.192402,2000],[112.759219,37.201406,2000],[112.75885,37.21041,2000],[112.75848,37.219415,2000],[112.75811,37.228419,2000],[112.75774,37.237423,2000],[112.75737,37.246427,2000],[112.757,37.255431,2000],[112.755653,37.264353,2000],[112.7515,37.27271,2000],[112.74663,37.280835,2000],[112.74176,37.28896,2000],[112.73691,37.297093,2000],[112.732475,37.305376,2000],[112.728073,37.31367,2000],[112.723671,37.321965,2000],[112.719267,37.330259,2000],[112.714863,37.338553,2000],[112.710457,37.346847,2000],[112.706051,37.355141,2000],[112.701643,37.363434,2000],[112.697235,37.371728,2000],[112.692821,37.38002,2000],[112.687419,37.387914,2000],[112.680162,37.394796,2000],[112.671453,37.40052,2000],[112.662791,37.406288,2000],[112.654961,37.41278,2000],[112.647151,37.419288,2000],[112.639424,37.425858,2000],[112.633151,37.433328,2000],[112.628061,37.441371,2000],[112.622985,37.44942,2000],[112.617908,37.457469,2000],[112.612829,37.465517,2000],[112.606722,37.473068,2000],[112.598893,37.479564,2000],[112.592373,37.486888,2000],[112.588653,37.495367,2000],[112.586139,37.504151,2000],[112.582119,37.512546,2000],[112.576344,37.520292,2000],[112.571604,37.528437,2000],[112.570363,37.53735,2000],[112.572843,37.546098,2000],[112.577255,37.554394,2000],[112.580099,37.563075,2000],[112.580236,37.57208,2000],[112.580179,37.581089,2000],[112.580122,37.590098,2000],[112.580064,37.599107,2000],[112.580007,37.608115,2000],[112.57995,37.617124,2000],[112.579892,37.626133,2000],[112.580121,37.635137,2000],[112.581075,37.644114,2000],[112.582412,37.653052,2000],[112.586737,37.661333,2000],[112.594234,37.668033,2000],[112.604042,37.672483,2000],[112.614431,37.67608,2000],[112.624003,37.680887,2000],[112.633302,37.686038,2000],[112.642603,37.691188,2000],[112.65193,37.696308,2000],[112.661506,37.70113,2000],[112.668263,37.708183,2000],[112.669805,37.71708,2000],[112.670743,37.726058,2000],[112.671565,37.735042,2000],[112.670514,37.743852,2000],[112.662379,37.750086,2000],[112.654457,37.756535,2000],[112.646339,37.762818,2000],[112.637584,37.768549,2000],[112.628177,37.77357,2000],[112.619816,37.779597,2000],[112.61139,37.785609,2000]
]

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/46778.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

ChatGPT 深度解析:技术驱动的智能对话

在当今科技飞速发展的时代,ChatGPT 无疑成为了最耀眼的明星之一。它以其令人惊叹的智能对话能力,引发了全球范围内的广泛关注和热议。 ChatGPT 背后的技术堪称精妙绝伦。它基于深度学习算法,通过对海量数据的学习和分析,从而能够理…

BasicSR项目(通用图像超分、修复、增强工具库)介绍

项目地址:https://github.com/XPixelGroup/BasicSR 文档地址:https://github.com/XPixelGroup/BasicSR-docs/releases BasicSR 是一个开源项目,旨在提供一个方便易用的图像、视频的超分、复原、增强的工具箱。BasicSR 代码库从2018年4月20日…

【Memcached】Memcached的工作原理

目录 ​编辑 第2章:Memcached工作原理 2.1 数据存储与访问 2.2 分布式架构 2.3 数据过期机制 第2章:Memcached工作原理 2.1 数据存储与访问 Memcached是一种键值存储系统,其中数据以键值对的形式存储。键是用于定位数据的唯一标识符&am…

libyaml库的交叉编译

目录 1.Ubuntu环境中安装libyaml库 2.交叉编译 3.success 1.Ubuntu环境中安装libyaml库 官方地址:https://pyyaml.org/wiki/LibYAML 下载路径:http://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz 2.交叉编译 官方的下载路径为/usr/local下&am…

【unity实战】使用unity制作一个红点系统

前言 注意,本文是本人的学习笔记记录,这里先记录基本的代码,后面用到了再回来进行实现和整理 素材 https://assetstore.unity.com/packages/2d/gui/icons/2d-simple-ui-pack-218050 框架: RedPointSystem.cs using System.…

PHP全功能微信投票迷你平台系统小程序源码

🔥让决策变得超简单!🎉 🚀【一键创建,秒速启动】 嘿小伙伴们,你还在为组织投票而手忙脚乱吗?来试试这款全功能投票迷你微信小程序吧!只需轻轻一点,无论是班级选举、社团…

【postgresql】pg_dump备份数据库

pg_dump 介绍 pg_dump 是一个用于备份 PostgreSQL 数据库的实用工具。它可以将数据库的内容导出为一个 SQL 脚本文件或其他格式的文件,以便在需要时进行恢复或迁移。 基本用法 pg_dump [选项] [数据库名] 命令选项 -h 或 --host:指定数据库服务器的主…

2024年大数据高频面试题(上篇)

文章目录 HDFS读流程和写流程HDFS读数据流程NameNode和Secondary NameNode工作机制FsimageEdits文件Seen_txidnamenode工作机制HA NameNode如何工作ZKFCHealthMonitorActiveStandbyElectorJouranlNode集群DataNode工作机制DataNode数据损坏压缩MapReduce工作流程MapTask工作流R…

Visual Studio远程调试工具

路径:Visual Studio安装路径/Common7/IDE/Remote Debugger/平台/msvsmon.exe。 平台有x86、x64,x64即可调试x86进程也可调试x64进程。 将平台路径下的所有文件拷贝至其他PC,运行msvsmon.exe。 工具栏选择“工具(T)”…

Ubuntu18.04安装ROS

1.添加ROS软件源 sudo sh -c echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.listcurl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc输入指令:curl -s https:…

Python中EMD的安装教程

第一步:首先安装两个包 pip install pyemd pip install EMD-signal第二步:然后,进行改名 安装完之后,找到包所在的位置,然后要将原来pyemd的文件夹名称改为PyEMD:

cleanshot Mac 上的截图工具

笔者闲来无事,最近在找一些mac上好用的工具其中一款就是cleanShot。为什么不用原有的mac自带的呢。因为相对来说编辑功能不算全面,不支持长截图。那有没有一款软件支持关于截图的好用工具呢。 所以笔者找了这款。安装包是直接安装就可使用的。请大家点赞…

Golang | Leetcode Golang题解之第237题删除链表中的节点

题目: 题解: func deleteNode(node *ListNode) {node.Val node.Next.Valnode.Next node.Next.Next }

Python中的UnboundLocalError是什么错误?如何解决?

如果代码报错UnboundLocalError, 大概率犯了以下错误: money 10000 # 当前存款def add_money(value):money valueif __name__ __main__:print(当前存款:, money)add_money(1000)print(当前存款:, money)其中,变量money表示当前存款;函数…

DialogFragment 开发手游sdk代替透明的activity

前言 各位同学大家好 有段时间没有给各位更新文章了,最近在写新的项目 之前的手游sdk 都是用透明的activity 效果有缺陷,现在我改成用这个dialogfragment 来实现 , 废话不多说我们正式开始 效果图 : 为什么要使用dialogfragment: 之前开发手游sdk的时候 我这边都是使用透…

【区块链 + 智慧政务】区块链 +ETC 下一代公路联网收费关键技术优化项目 | FISCO BCOS应用案例

2020 年,我国取消省界收费站项目完成后,随着收费模式与收费方式的变化,形成了以门架为计费单元的新收 费体系:按照车辆通行门架数,RSU 天线读取 ETC 卡、电子标签 OBU 或 CPC 卡内标识的车型信息,车型门架计…

ALlegro批量替换封装?

1,此种情况批量修改同名封装,即改前改后的封装名相同 2,首先将改好后的封装放于库路径下 3,place ----update symbols —package symbols ----选择修改的封装名 4,refresh 完成

开源PS2模拟器 PCSX2 2.0版发布 性能与功能全面升级

时隔多年之后,备受玩家喜爱的PS2模拟器PCSX2迎来了重大更新,2.0版本正式发布!此次更新包含了大量改进,几乎涵盖了模拟器各个方面,为玩家带来更流畅、更便捷的游戏体验。 下载地址: https://pcsx2.net/ 界…

Hadoop-29 ZooKeeper集群 Watcher机制 工作原理 与 ZK基本命令 测试集群效果 3台公网云服务器

章节内容 上节我们完成了: ZNode的基本介绍ZNode节点类型的介绍事务ID的介绍ZNode实机测试效果 背景介绍 这里是三台公网云服务器,每台 2C4G,搭建一个Hadoop的学习环境,供我学习。 之前已经在 VM 虚拟机上搭建过一次&#xff…

品牌形象的智能塑造:Kompas.ai如何构建品牌视觉识别

品牌形象是企业在消费者心中构建的独特印象,它对于品牌识别和记忆度至关重要。一个一致且具有辨识度的品牌形象能够帮助企业在激烈的市场竞争中脱颖而出。Kompas.ai,作为一款智能设计工具,正帮助品牌塑造和维护其独特的视觉识别系统。 一致的…