Skip to content

Commit 96ee71b

Browse files
committed
ObliqueView: fix inverted view cone orientation
1 parent 8963974 commit 96ee71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/ObliqueView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class ObliqueView extends React.Component {
226226
<span className="obliqueview-bottombar-spacer" />
227227
{basemap && this.state.datasetConfig ? (
228228
<OverviewMapButton
229-
center={this.state.currentCenter} coneRotation={this.getRotation() / 180 * Math.PI}
229+
center={this.state.currentCenter} coneRotation={-this.getRotation() / 180 * Math.PI}
230230
layer={basemap} projection={this.state.datasetConfig.crs}
231231
resolution={this.computeOverviewResolution()}
232232
/>

0 commit comments

Comments
 (0)