Skip to content

Commit

Permalink
Cesium: fix circle fence radius
Browse files Browse the repository at this point in the history
  • Loading branch information
mentonin authored and Williangalvani committed Aug 31, 2022
1 parent 33b085f commit e1ce039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CesiumViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ export default {
this.fences.push(this.viewer.entities.add({
position: Cartesian3.fromDegrees(pos[0], pos[1]),
ellipse: {
semiMinorAxis: pos[2] * 2,
semiMajorAxis: pos[2] * 2,
semiMinorAxis: pos[2],
semiMajorAxis: pos[2],
material: Color.ORANGE.withAlpha(0.5)
}
}))
Expand Down

0 comments on commit e1ce039

Please sign in to comment.