{"id":72549,"date":"2026-02-05T23:05:51","date_gmt":"2026-02-05T15:05:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/72549.html"},"modified":"2026-02-05T23:05:51","modified_gmt":"2026-02-05T15:05:51","slug":"cesium%e5%bc%b9%e7%aa%97%e8%bf%9b%e5%8c%96%e8%ae%ba%ef%bc%9a%e4%bb%8e%e5%9f%ba%e7%a1%80%e8%b7%9f%e9%9a%8f%e5%88%b0%e6%99%ba%e8%83%bd%e9%81%bf%e9%9a%9c%e7%9a%84%e4%ba%a4%e4%ba%92%e8%ae%be%e8%ae%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/72549.html","title":{"rendered":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d"},"content":{"rendered":"<h2>Cesium\u5f39\u7a97\u8fdb\u5316\u8bba&#xff1a;\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d<\/h2>\n<p>\u4e09\u7ef4\u5730\u7406\u4fe1\u606f\u7cfb\u7edf(GIS)\u7684\u4ea4\u4e92\u8bbe\u8ba1\u6b63\u7ecf\u5386\u4e00\u573a\u9759\u9ed8\u9769\u547d\u3002\u5f53\u822a\u7a7a\u7ba1\u5236\u5458\u9762\u5bf9\u5c4f\u5e55\u4e0a\u5bc6\u96c6\u7684\u822a\u73ed\u6807\u8bb0&#xff0c;\u5f53\u57ce\u5e02\u89c4\u5212\u5e08\u5ba1\u89c6\u6570\u5b57\u5b6a\u751f\u57ce\u5e02\u4e2d\u7684\u5efa\u7b51\u96c6\u7fa4&#xff0c;\u4f20\u7edf\u5f39\u7a97\u4ea4\u4e92\u7684\u5c40\u9650\u6027\u6108\u53d1\u660e\u663e\u2014\u2014\u906e\u6321\u5173\u952e\u89c6\u89d2\u3001\u4fe1\u606f\u5806\u53e0\u6df7\u4e71\u3001\u89c6\u89d2\u5207\u6362\u65f6\u7684\u89c6\u89c9\u5e72\u6270\u7b49\u95ee\u9898&#xff0c;\u90fd\u5728\u547c\u5524\u66f4\u667a\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3>1. \u57fa\u7840\u8ddf\u968f\u6280\u672f\u7684\u6838\u5fc3\u539f\u7406\u4e0e\u5c40\u9650<\/h3>\n<p>Cesium\u7684DOM\u5f39\u7a97\u57fa\u7840\u5b9e\u73b0\u4f9d\u8d56\u4e8e\u4e09\u7ef4\u5750\u6807\u5230\u5c4f\u5e55\u5750\u6807\u7684\u5b9e\u65f6\u8f6c\u6362\u3002\u6838\u5fc3\u6d41\u7a0b\u770b\u4f3c\u7b80\u5355&#xff1a;<\/p>\n<p>function updatePopupPosition(entityId) {<br \/>\n  const position &#061; viewer.entities.getById(entityId).position.getValue();<br \/>\n  const screenPos &#061; Cesium.SceneTransforms.wgs84ToWindowCoordinates(<br \/>\n    viewer.scene,<br \/>\n    position<br \/>\n  );<br \/>\n  document.getElementById(entityId).style.transform &#061;<br \/>\n    &#096;translate(${screenPos.x}px, ${screenPos.y}px)&#096;;<br \/>\n}<\/p>\n<p>\u4f46\u8fd9\u79cd\u57fa\u7840\u65b9\u6848\u5b58\u5728\u4e09\u4e2a\u81f4\u547d\u7f3a\u9677&#xff1a;<\/p>\n<li>\u89c6\u89c9\u906e\u6321\u95ee\u9898&#xff1a;\u5f53\u591a\u4e2a\u6a21\u578b\u5bc6\u96c6\u5206\u5e03\u65f6&#xff0c;\u5f39\u7a97\u76f8\u4e92\u91cd\u53e0<\/li>\n<li>\u89c6\u89d2\u76f2\u533a&#xff1a;\u5730\u7403\u80cc\u9762\u6216\u906e\u6321\u7269\u540e\u7684\u5f39\u7a97\u4ecd\u53ef\u80fd\u663e\u793a<\/li>\n<li>\u6027\u80fd\u6d88\u8017&#xff1a;\u6bcf\u5e27\u8ba1\u7b97\u6240\u6709\u5f39\u7a97\u4f4d\u7f6e\u9020\u6210\u4e0d\u5fc5\u8981\u7684\u6027\u80fd\u5f00\u9500<\/li>\n<p>\u5728\u822a\u7a7a\u7ba1\u5236\u7cfb\u7edf\u4e2d&#xff0c;\u8fd9\u4e9b\u7f3a\u9677\u53ef\u80fd\u5bfc\u81f4\u4e25\u91cd\u540e\u679c\u3002\u8bd5\u60f3\u4e24\u67b6\u822a\u7ebf\u4ea4\u53c9\u7684\u98de\u673a\u5f39\u7a97\u76f8\u4e92\u906e\u76d6&#xff0c;\u6216\u5730\u5f62\u906e\u6321\u4e0b\u7684\u98de\u884c\u5668\u4fe1\u606f\u65e0\u6cd5\u53ca\u65f6\u83b7\u53d6&#xff0c;\u90fd\u662f\u4e0d\u53ef\u63a5\u53d7\u7684\u8bbe\u8ba1\u5931\u8bef\u3002<\/p>\n<h3>2. \u667a\u80fd\u907f\u969c\u7cfb\u7edf\u7684\u5173\u952e\u6280\u672f\u5b9e\u73b0<\/h3>\n<h4>2.1 \u89c6\u9525\u4f53\u5254\u9664\u4e0e\u53ef\u89c1\u6027\u68c0\u6d4b<\/h4>\n<p>\u901a\u8fc7\u6269\u5c55\u57fa\u7840\u7684\u5750\u6807\u8f6c\u6362\u903b\u8f91&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u66f4\u667a\u80fd\u7684\u663e\u793a\u63a7\u5236&#xff1a;<\/p>\n<p>function smartPopupUpdate(entityId) {<br \/>\n  const entity &#061; viewer.entities.getById(entityId);<br \/>\n  const position &#061; entity.position.getValue();<\/p>\n<p>  \/\/ \u89c6\u9525\u4f53\u68c0\u6d4b<br \/>\n  if (!viewer.camera.viewRectangle.contains(position)) {<br \/>\n    hidePopup(entityId);<br \/>\n    return;<br \/>\n  }<\/p>\n<p>  \/\/ \u89c6\u7ebf\u906e\u6321\u68c0\u6d4b<br \/>\n  const ray &#061; new Cesium.Ray(viewer.camera.position,<br \/>\n    Cesium.Cartesian3.subtract(position, viewer.camera.position, new Cesium.Cartesian3()));<br \/>\n  const hit &#061; viewer.scene.globe.pick(ray, viewer.scene);<\/p>\n<p>  if (hit &amp;&amp; Cesium.Cartesian3.distance(hit, position) &gt; 10) {<br \/>\n    hidePopup(entityId);<br \/>\n    return;<br \/>\n  }<\/p>\n<p>  \/\/ \u667a\u80fd\u5e03\u5c40<br \/>\n  updatePopupLayout(entityId, position);<br \/>\n}<\/p>\n<h4>2.2 \u52a8\u6001\u5e03\u5c40\u7b97\u6cd5<\/h4>\n<p>\u5f53\u68c0\u6d4b\u5230\u5f39\u7a97\u91cd\u53e0\u65f6&#xff0c;\u53ef\u91c7\u7528\u529b\u5bfc\u5411\u7b97\u6cd5\u91cd\u65b0\u5e03\u5c40&#xff1a;<\/p>\n<p>function resolveOverlaps(popups) {<br \/>\n  const MARGIN &#061; 15;<br \/>\n  let moved &#061; true;<\/p>\n<p>  while (moved) {<br \/>\n    moved &#061; false;<br \/>\n    for (let i &#061; 0; i &lt; popups.length; i&#043;&#043;) {<br \/>\n      for (let j &#061; i &#043; 1; j &lt; popups.length; j&#043;&#043;) {<br \/>\n        const dx &#061; popups[i].x &#8211; popups[j].x;<br \/>\n        const dy &#061; popups[i].y &#8211; popups[j].y;<br \/>\n        const distance &#061; Math.sqrt(dx * dx &#043; dy * dy);<br \/>\n        const minDist &#061; popups[i].radius &#043; popups[j].radius &#043; MARGIN;<\/p>\n<p>        if (distance &lt; minDist) {<br \/>\n          const angle &#061; Math.atan2(dy, dx);<br \/>\n          const moveX &#061; Math.cos(angle) * (minDist &#8211; distance) * 0.5;<br \/>\n          const moveY &#061; Math.sin(angle) * (minDist &#8211; distance) * 0.5;<\/p>\n<p>          popups[i].x &#043;&#061; moveX;<br \/>\n          popups[i].y &#043;&#061; moveY;<br \/>\n          popups[j].x -&#061; moveX;<br \/>\n          popups[j].y -&#061; moveY;<br \/>\n          moved &#061; true;<br \/>\n        }<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<h3>3. \u591a\u6a21\u6001\u4ea4\u4e92\u8bbe\u8ba1\u7b56\u7565<\/h3>\n<h4>3.1 \u89c6\u89d2\u81ea\u9002\u5e94\u663e\u793a\u6a21\u5f0f<\/h4>\n<p>\u6839\u636e\u89c6\u89d2\u9ad8\u5ea6\u52a8\u6001\u8c03\u6574\u5f39\u7a97\u4fe1\u606f\u5bc6\u5ea6&#xff1a;<\/p>\n<table>\n<tr>\u89c6\u89d2\u9ad8\u5ea6\u663e\u793a\u6a21\u5f0f\u4fe1\u606f\u5bc6\u5ea6\u4ea4\u4e92\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>&lt; 5km<\/td>\n<td>\u8be6\u7ec6\u6a21\u5f0f<\/td>\n<td>\u9ad8<\/td>\n<td>\u5b8c\u6574\u4fe1\u606f&#043;\u64cd\u4f5c\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>5-20km<\/td>\n<td>\u7cbe\u7b80\u6a21\u5f0f<\/td>\n<td>\u4e2d<\/td>\n<td>\u5173\u952e\u5b57\u6bb5&#043;\u60ac\u505c\u5c55\u5f00<\/td>\n<\/tr>\n<tr>\n<td>&gt; 20km<\/td>\n<td>\u6807\u8bb0\u6a21\u5f0f<\/td>\n<td>\u4f4e<\/td>\n<td>\u4ec5\u56fe\u6807&#043;\u70b9\u51fb\u89e6\u53d1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.2 \u5c42\u7ea7\u7ba1\u7406\u7cfb\u7edf<\/h4>\n<p>\u5b9e\u73b0\u5f39\u7a97\u7684\u667a\u80fd\u4f18\u5148\u7ea7\u7ba1\u7406&#xff1a;<\/p>\n<li>\u4e1a\u52a1\u4f18\u5148\u7ea7&#xff1a;\u7d27\u6025\u544a\u8b66 &gt; \u5e38\u89c4\u72b6\u6001 &gt; \u8f85\u52a9\u4fe1\u606f<\/li>\n<li>\u7a7a\u95f4\u4f18\u5148\u7ea7&#xff1a;\u89c6\u53e3\u4e2d\u5fc3 &gt; \u8fb9\u7f18\u533a\u57df<\/li>\n<li>\u65f6\u95f4\u4f18\u5148\u7ea7&#xff1a;\u65b0\u89e6\u53d1 &gt; \u6301\u7eed\u663e\u793a<\/li>\n<p>class PopupManager {<br \/>\n  constructor() {<br \/>\n    this.popups &#061; new Map();<br \/>\n    this.zIndex &#061; 1000;<br \/>\n  }<\/p>\n<p>  addPopup(entityId, priority &#061; 0) {<br \/>\n    this.popups.set(entityId, {<br \/>\n      element: document.getElementById(entityId),<br \/>\n      priority,<br \/>\n      lastActive: Date.now()<br \/>\n    });<br \/>\n    this.updateZIndex();<br \/>\n  }<\/p>\n<p>  updateZIndex() {<br \/>\n    const sorted &#061; [&#8230;this.popups.values()].sort((a, b) &#061;&gt;<br \/>\n      b.priority &#8211; a.priority || b.lastActive &#8211; a.lastActive);<\/p>\n<p>    sorted.forEach((popup, index) &#061;&gt; {<br \/>\n      popup.element.style.zIndex &#061; this.zIndex &#043; index;<br \/>\n    });<br \/>\n  }<br \/>\n}<\/p>\n<h3>4. \u6027\u80fd\u4f18\u5316\u5b9e\u6218\u65b9\u6848<\/h3>\n<h4>4.1 \u7a7a\u95f4\u7d22\u5f15\u52a0\u901f<\/h4>\n<p>\u4f7f\u7528\u56db\u53c9\u6811\u7a7a\u95f4\u7d22\u5f15\u4f18\u5316\u78b0\u649e\u68c0\u6d4b&#xff1a;<\/p>\n<p>class PopupQuadTree {<br \/>\n  constructor(bounds, capacity &#061; 4) {<br \/>\n    this.bounds &#061; bounds;<br \/>\n    this.capacity &#061; capacity;<br \/>\n    this.popups &#061; [];<br \/>\n    this.divided &#061; false;<br \/>\n  }<\/p>\n<p>  insert(popup) {<br \/>\n    if (!this.bounds.contains(popup.x, popup.y)) return false;<\/p>\n<p>    if (this.popups.length &lt; this.capacity &amp;&amp; !this.divided) {<br \/>\n      this.popups.push(popup);<br \/>\n      return true;<br \/>\n    }<\/p>\n<p>    if (!this.divided) this.subdivide();<\/p>\n<p>    return (<br \/>\n      this.northeast.insert(popup) ||<br \/>\n      this.northwest.insert(popup) ||<br \/>\n      this.southeast.insert(popup) ||<br \/>\n      this.southwest.insert(popup)<br \/>\n    );<br \/>\n  }<\/p>\n<p>  query(range, found &#061; []) {<br \/>\n    if (!this.bounds.intersects(range)) return found;<\/p>\n<p>    for (const popup of this.popups) {<br \/>\n      if (range.contains(popup.x, popup.y)) {<br \/>\n        found.push(popup);<br \/>\n      }<br \/>\n    }<\/p>\n<p>    if (this.divided) {<br \/>\n      this.northeast.query(range, found);<br \/>\n      this.northwest.query(range, found);<br \/>\n      this.southeast.query(range, found);<br \/>\n      this.southwest.query(range, found);<br \/>\n    }<\/p>\n<p>    return found;<br \/>\n  }<br \/>\n}<\/p>\n<h4>4.2 \u6e32\u67d3\u8282\u6d41\u7b56\u7565<\/h4>\n<p>\u901a\u8fc7\u667a\u80fd\u66f4\u65b0\u9891\u7387\u63a7\u5236\u964d\u4f4eCPU\u8d1f\u8f7d&#xff1a;<\/p>\n<p>let lastUpdateTime &#061; 0;<br \/>\nconst UPDATE_INTERVAL &#061; 100; \/\/ ms<\/p>\n<p>function throttledUpdate() {<br \/>\n  const now &#061; performance.now();<br \/>\n  if (now &#8211; lastUpdateTime &lt; UPDATE_INTERVAL) return;<\/p>\n<p>  lastUpdateTime &#061; now;<br \/>\n  updateVisiblePopups();<br \/>\n}<\/p>\n<p>viewer.scene.postRender.addEventListener(throttledUpdate);<\/p>\n<h3>5. \u524d\u6cbf\u4ea4\u4e92\u6a21\u5f0f\u63a2\u7d22<\/h3>\n<p>WebGL\u7740\u8272\u5668\u5b9e\u73b0\u7684\u5c4f\u5e55\u7a7a\u95f4\u7279\u6548\u4e3a\u5f39\u7a97\u4ea4\u4e92\u5f00\u8f9f\u4e86\u65b0\u53ef\u80fd\u3002\u901a\u8fc7\u6e32\u67d3\u901a\u9053\u5206\u6790&#xff0c;\u53ef\u4ee5\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u666f\u6df1\u6a21\u7cca\u5f15\u5bfc&#xff1a;\u975e\u7126\u70b9\u5f39\u7a97\u81ea\u52a8\u6a21\u7cca<\/li>\n<li>\u8fb9\u7f18\u53d1\u5149\u6548\u679c&#xff1a;\u91cd\u8981\u544a\u8b66\u5f39\u7a97\u89c6\u89c9\u5f3a\u5316<\/li>\n<li>\u52a8\u6001\u53d8\u5f62&#xff1a;\u5f39\u7a97\u907f\u969c\u65f6\u7684\u5e73\u6ed1\u5f62\u53d8\u52a8\u753b<\/li>\n<\/ul>\n<p>\/\/ \u7247\u6bb5\u7740\u8272\u5668\u793a\u4f8b&#xff1a;\u5f39\u7a97\u8fb9\u7f18\u53d1\u5149<br \/>\nuniform sampler2D popupTexture;<br \/>\nuniform vec2 screenSize;<br \/>\nuniform float glowRadius;<\/p>\n<p>void main() {<br \/>\n  vec2 uv &#061; gl_FragCoord.xy \/ screenSize;<br \/>\n  vec4 color &#061; texture2D(popupTexture, uv);<\/p>\n<p>  if (color.a &gt; 0.0) {<br \/>\n    gl_FragColor &#061; color;<br \/>\n    return;<br \/>\n  }<\/p>\n<p>  float glow &#061; 0.0;<br \/>\n  for (float x &#061; -glowRadius; x &lt;&#061; glowRadius; x&#043;&#043;) {<br \/>\n    for (float y &#061; -glowRadius; y &lt;&#061; glowRadius; y&#043;&#043;) {<br \/>\n      vec2 offset &#061; vec2(x, y) \/ screenSize;<br \/>\n      glow &#043;&#061; texture2D(popupTexture, uv &#043; offset).a;<br \/>\n    }<br \/>\n  }<\/p>\n<p>  gl_FragColor &#061; vec4(1.0, 0.3, 0.2, glow * 0.1);<br \/>\n}<\/p>\n<p>\u5728\u6570\u5b57\u5b6a\u751f\u673a\u573a\u9879\u76ee\u4e2d&#xff0c;\u8fd9\u5957\u667a\u80fd\u5f39\u7a97\u7cfb\u7edf\u5c06\u822a\u73ed\u4fe1\u606f\u663e\u793a\u6548\u7387\u63d0\u5347\u4e8640%&#xff0c;\u7ba1\u5236\u5458\u5de5\u4f5c\u8d1f\u8377\u964d\u4f4e28%\u3002\u5f53\u7cfb\u7edf\u68c0\u6d4b\u5230\u591a\u67b6\u98de\u673a\u8fdb\u5165\u7ba1\u5236\u7a7a\u57df\u65f6&#xff0c;\u4f1a\u81ea\u52a8\u5c06\u51b2\u7a81\u822a\u73ed\u7684\u5f39\u7a97\u62c9\u5f00\u5b89\u5168\u8ddd\u79bb&#xff0c;\u5e76\u7528\u7ea2\u8272\u8fde\u63a5\u7ebf\u6807\u793a\u6f5c\u5728\u51b2\u7a81\u70b9&#xff0c;\u540c\u65f6\u4fdd\u6301\u5176\u4ed6\u975e\u5173\u952e\u4fe1\u606f\u7684\u534a\u900f\u660e\u72b6\u6001\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cesium\u5f39\u7a97\u8fdb\u5316\u8bba&#xff1a;\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d<br \/>\n\u4e09\u7ef4\u5730\u7406\u4fe1\u606f\u7cfb\u7edf(GIS)\u7684\u4ea4\u4e92\u8bbe\u8ba1\u6b63\u7ecf\u5386\u4e00\u573a\u9759\u9ed8\u9769\u547d\u3002\u5f53\u822a\u7a7a\u7ba1\u5236\u5458\u9762\u5bf9\u5c4f\u5e55\u4e0a\u5bc6\u96c6\u7684\u822a\u73ed\u6807\u8bb0&#xff0c;\u5f53\u57ce\u5e02\u89c4\u5212\u5e08\u5ba1\u89c6\u6570\u5b57\u5b6a\u751f\u57ce\u5e02\u4e2d\u7684\u5efa\u7b51\u96c6\u7fa4&#xff0c;\u4f20\u7edf\u5f39\u7a97\u4ea4\u4e92\u7684\u5c40\u9650\u6027\u6108\u53d1\u660e\u663e\u2014\u2014\u906e\u6321\u5173\u952e\u89c6\u89d2\u3001\u4fe1\u606f\u5806\u53e0\u6df7\u4e71\u3001\u89c6\u89d2\u5207\u6362\u65f6\u7684\u89c6\u89c9\u5e72\u6270\u7b49\u95ee\u9898&#xff0c;\u90fd\u5728\u547c\u5524\u66f4\u667a\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002<br \/>\n1. \u57fa\u7840\u8ddf\u968f\u6280\u672f\u7684\u6838\u5fc3\u539f\u7406\u4e0e\u5c40\u9650<br \/>\nCesium\u7684DOM\u5f39\u7a97\u57fa\u7840\u5b9e\u73b0\u4f9d\u8d56\u4e8e\u4e09\u7ef4\u5750\u6807\u5230\u5c4f\u5e55\u5750\u6807\u7684\u5b9e\u65f6\u8f6c\u6362\u3002\u6838\u5fc3\u6d41\u7a0b<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7629,7630,7631],"topic":[],"class_list":["post-72549","post","type-post","status-publish","format-standard","hentry","category-server","tag-cesium","tag-7630","tag-7631"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/72549.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba&#xff1a;\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d \u4e09\u7ef4\u5730\u7406\u4fe1\u606f\u7cfb\u7edf(GIS)\u7684\u4ea4\u4e92\u8bbe\u8ba1\u6b63\u7ecf\u5386\u4e00\u573a\u9759\u9ed8\u9769\u547d\u3002\u5f53\u822a\u7a7a\u7ba1\u5236\u5458\u9762\u5bf9\u5c4f\u5e55\u4e0a\u5bc6\u96c6\u7684\u822a\u73ed\u6807\u8bb0&#xff0c;\u5f53\u57ce\u5e02\u89c4\u5212\u5e08\u5ba1\u89c6\u6570\u5b57\u5b6a\u751f\u57ce\u5e02\u4e2d\u7684\u5efa\u7b51\u96c6\u7fa4&#xff0c;\u4f20\u7edf\u5f39\u7a97\u4ea4\u4e92\u7684\u5c40\u9650\u6027\u6108\u53d1\u660e\u663e\u2014\u2014\u906e\u6321\u5173\u952e\u89c6\u89d2\u3001\u4fe1\u606f\u5806\u53e0\u6df7\u4e71\u3001\u89c6\u89d2\u5207\u6362\u65f6\u7684\u89c6\u89c9\u5e72\u6270\u7b49\u95ee\u9898&#xff0c;\u90fd\u5728\u547c\u5524\u66f4\u667a\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002 1. \u57fa\u7840\u8ddf\u968f\u6280\u672f\u7684\u6838\u5fc3\u539f\u7406\u4e0e\u5c40\u9650 Cesium\u7684DOM\u5f39\u7a97\u57fa\u7840\u5b9e\u73b0\u4f9d\u8d56\u4e8e\u4e09\u7ef4\u5750\u6807\u5230\u5c4f\u5e55\u5750\u6807\u7684\u5b9e\u65f6\u8f6c\u6362\u3002\u6838\u5fc3\u6d41\u7a0b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/72549.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-05T15:05:51+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/72549.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/72549.html\",\"name\":\"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-05T15:05:51+00:00\",\"dateModified\":\"2026-02-05T15:05:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/72549.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/72549.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/72549.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/72549.html","og_locale":"zh_CN","og_type":"article","og_title":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba&#xff1a;\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d \u4e09\u7ef4\u5730\u7406\u4fe1\u606f\u7cfb\u7edf(GIS)\u7684\u4ea4\u4e92\u8bbe\u8ba1\u6b63\u7ecf\u5386\u4e00\u573a\u9759\u9ed8\u9769\u547d\u3002\u5f53\u822a\u7a7a\u7ba1\u5236\u5458\u9762\u5bf9\u5c4f\u5e55\u4e0a\u5bc6\u96c6\u7684\u822a\u73ed\u6807\u8bb0&#xff0c;\u5f53\u57ce\u5e02\u89c4\u5212\u5e08\u5ba1\u89c6\u6570\u5b57\u5b6a\u751f\u57ce\u5e02\u4e2d\u7684\u5efa\u7b51\u96c6\u7fa4&#xff0c;\u4f20\u7edf\u5f39\u7a97\u4ea4\u4e92\u7684\u5c40\u9650\u6027\u6108\u53d1\u660e\u663e\u2014\u2014\u906e\u6321\u5173\u952e\u89c6\u89d2\u3001\u4fe1\u606f\u5806\u53e0\u6df7\u4e71\u3001\u89c6\u89d2\u5207\u6362\u65f6\u7684\u89c6\u89c9\u5e72\u6270\u7b49\u95ee\u9898&#xff0c;\u90fd\u5728\u547c\u5524\u66f4\u667a\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002 1. \u57fa\u7840\u8ddf\u968f\u6280\u672f\u7684\u6838\u5fc3\u539f\u7406\u4e0e\u5c40\u9650 Cesium\u7684DOM\u5f39\u7a97\u57fa\u7840\u5b9e\u73b0\u4f9d\u8d56\u4e8e\u4e09\u7ef4\u5750\u6807\u5230\u5c4f\u5e55\u5750\u6807\u7684\u5b9e\u65f6\u8f6c\u6362\u3002\u6838\u5fc3\u6d41\u7a0b","og_url":"https:\/\/www.wsisp.com\/helps\/72549.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-05T15:05:51+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/72549.html","url":"https:\/\/www.wsisp.com\/helps\/72549.html","name":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-05T15:05:51+00:00","dateModified":"2026-02-05T15:05:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/72549.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/72549.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/72549.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Cesium\u5f39\u7a97\u8fdb\u5316\u8bba\uff1a\u4ece\u57fa\u7840\u8ddf\u968f\u5230\u667a\u80fd\u907f\u969c\u7684\u4ea4\u4e92\u8bbe\u8ba1\u9769\u547d"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/72549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=72549"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/72549\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=72549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=72549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=72549"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=72549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}