RenderinstructionPolyline constructor

RenderinstructionPolyline(
  1. int level
)

Creates a new polyline rendering instruction for the specified drawing level.

Initializes bitmap settings to maintain visual quality by disabling bitmap scaling which can cause visual artifacts on linear features.

level The drawing level (layer) for this polyline instruction

Implementation

RenderinstructionPolyline(int level) {
  this.level = level;
  // Disable bitmap scaling for lines to prevent visual artifacts
  setBitmapPercent(100);
  setBitmapMinZoomLevel(65535);
}