Skip to content

Commit

Permalink
Add zero _offset to Tile3DLayer (visgl#6108)
Browse files Browse the repository at this point in the history
  • Loading branch information
dryabinin94 authored Aug 17, 2021
1 parent 7d998dc commit cb96507
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions modules/geo-layers/src/tile-3d-layer/tile-3d-layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export default class Tile3DLayer extends CompositeLayer {
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
coordinateOrigin: cartographicOrigin,
modelMatrix,

getColor: constantRGBA || getPointColor
getColor: constantRGBA || getPointColor,
_offset: 0
}
);
}
Expand All @@ -259,7 +259,8 @@ export default class Tile3DLayer extends CompositeLayer {
coordinateOrigin: cartographicOrigin,
modelMatrix,
getTransformMatrix: instance => instance.modelMatrix,
getPosition: [0, 0, 0]
getPosition: [0, 0, 0],
_offset: 0
}
);
}
Expand Down Expand Up @@ -293,7 +294,8 @@ export default class Tile3DLayer extends CompositeLayer {
modelMatrix,
coordinateOrigin: cartographicOrigin,
coordinateSystem: COORDINATE_SYSTEM.METER_OFFSETS,
featureIds
featureIds,
_offset: 0
}
);
}
Expand Down

0 comments on commit cb96507

Please sign in to comment.