diff --git a/demo/fatlines-bottomheight.html b/demo/fatlines-bottomheight.html index 65ed649..095141e 100644 --- a/demo/fatlines-bottomheight.html +++ b/demo/fatlines-bottomheight.html @@ -153,8 +153,8 @@ data = select.data; baseObject = select.baseObject; if (baseObject && !baseObject.isAdd) { - baseObject.setSymbol(highlightmaterial); threeLayer.addMesh(baseObject); + baseObject.setSymbol(highlightmaterial); selectMesh.push(baseObject); } } diff --git a/demo/fatlines.html b/demo/fatlines.html index a88f90f..5d91bf2 100644 --- a/demo/fatlines.html +++ b/demo/fatlines.html @@ -167,8 +167,8 @@ data = select.data; baseObject = select.baseObject; if (baseObject && !baseObject.isAdd) { - baseObject.setSymbol(highlightmaterial); threeLayer.addMesh(baseObject); + baseObject.setSymbol(highlightmaterial); selectMesh.push(baseObject); } } diff --git a/demo/index.html b/demo/index.html index 11fa98e..56b3f76 100644 --- a/demo/index.html +++ b/demo/index.html @@ -75,6 +75,8 @@

maptalks.three plugin Demos

  • fatline
  • fatlines
  • fatlines-bottomheight
  • +
  • path
  • +
  • paths
  • point
  • point-icon
  • points
  • diff --git a/demo/path.html b/demo/path.html index 3e8ae80..6abbd92 100644 --- a/demo/path.html +++ b/demo/path.html @@ -9,7 +9,7 @@ - +