Skip to content

Commit 5b8ffd1

Browse files
committed
chore: refactoring
1 parent 356b98d commit 5b8ffd1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ui-carto/vectorelements/point.android.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export class Point extends BasePointVectorElement<com.carto.vectorelements.Point
3030
createNative(options: PointOptions) {
3131
const style = this.buildStyle();
3232
const nativePos = this.getNativePos(options.position, options.projection);
33-
const result = new com.carto.vectorelements.Point(nativePos, style);
34-
// result['owner'] = new WeakRef(this);
35-
return result;
33+
return new com.carto.vectorelements.Point(nativePos, style);
3634
}
3735
buildStyle() {
3836
let style: com.carto.styles.PointStyle;

0 commit comments

Comments
 (0)