We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90b88c1 commit 2759946Copy full SHA for 2759946
1 file changed
packages/maptalks/src/renderer/geometry/VectorRenderer.ts
@@ -105,6 +105,7 @@ const el = {
105
106
//@internal
107
_paintAsPath: function (): boolean {
108
+
109
//why? when rotate need draw by path
110
if (this.isRotated()) {
111
return true;
@@ -115,7 +116,7 @@ const el = {
115
116
const pitch = cache ? cache.pitch : map.getPitch();
117
const bearing = cache ? cache.bearing : map.getBearing();
118
// when map is tilting, draw the ;circle/ellipse as a polygon by vertexes.
- return altitude > 0 || pitch || ((this instanceof Ellipse) && bearing);
119
+ return altitude > 0 || pitch || ((this instanceof Ellipse) && bearing) || (this instanceof Sector && !this.options.antiMeridian);
120
},
121
122
0 commit comments