Skip to content

Commit

Permalink
0.37.0 (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
deyihu authored Aug 21, 2023
1 parent 5eaa441 commit dc4a0cf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo/fatlines-bottomheight.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion demo/fatlines.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 2 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ <h1>maptalks.three plugin Demos</h1>
<li><a href="fatline.html">fatline</a></li>
<li><a href="fatlines.html">fatlines</a></li>
<li><a href="fatlines-bottomheight.html">fatlines-bottomheight</a></li>
<li><a href="path.html">path</a></li>
<li><a href="paths.html">paths</a></li>
<li><a href="point.html">point</a></li>
<li><a href="point-icon.html">point-icon</a></li>
<li><a href="points.html">points</a></li>
Expand Down
2 changes: 1 addition & 1 deletion demo/path.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script type="text/javascript" src="https://unpkg.com/maptalks/dist/maptalks.js"></script>
<script type="text/javascript" src="https://unpkg.com/@maptalks/gl/dist/maptalksgl.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/build/three.min.js"></script>
<script type="text/javascript" src="../dist/maptalks.three.js"></script>
<script type="text/javascript" src="https://unpkg.com/maptalks.three@latest/dist/maptalks.three.js"></script>
<style>
html,
body {
Expand Down
2 changes: 1 addition & 1 deletion demo/paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script type="text/javascript" src="https://unpkg.com/@maptalks/gl/dist/maptalksgl.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/build/three.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/libs/lz-string.min.js"></script>
<script type="text/javascript" src="../dist/maptalks.three.js"></script>
<script type="text/javascript" src="https://unpkg.com/maptalks.three@latest/dist/maptalks.three.js"></script>
<script type="text/javascript" src="./js/geoutil.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/examples/js/libs/stats.min.js"></script>
<script type="text/javascript" src="./data/nysubways.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maptalks.three",
"version": "0.36.2",
"version": "0.37.0",
"description": "A maptalks Layer to render with THREE.js.",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit dc4a0cf

Please sign in to comment.