Skip to content

Commit 4b2ae57

Browse files
authored
fix: Removes duplicate vertices
This PR removes duplicate vertices from 3d-polygon and 3d-polygon-extruded-hole.
1 parent ca84103 commit 4b2ae57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/3d-polygon/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ async function init() {
2828
examplePolygon.outerCoordinates = [
2929
{ lat: 40.7144, lng: -74.0208 },
3030
{ lat: 40.6993, lng: -74.019 },
31-
{ lat: 40.7035, lng: -74.0004 },
32-
{ lat: 40.7144, lng: -74.0208 }
31+
{ lat: 40.7035, lng: -74.0004 }
3332
];
3433

3534
map3DElement.append(examplePolygon);

0 commit comments

Comments
 (0)