PolylineLayer
A layer to display PolylineMarkers.
Inherits: MapLayer
Properties
culling_margin- Acceptable extent outside of viewport before culling polyline segments.min_hittable_radius- The minimum radius of the hittable area around each polyline in logical pixels.polylines- List of PolylineMarkers to be drawn.simplification_tolerance- The tolerance (in map units) used to simplify polylines for rendering.
Properties
culling_marginclass-attributeinstance-attribute
culling_margin: Number = 10.0Acceptable extent outside of viewport before culling polyline segments.
min_hittable_radiusclass-attributeinstance-attribute
min_hittable_radius: Number = 10.0The minimum radius of the hittable area around each polyline in logical pixels.
The entire visible area is always hittable, but if the visible area is smaller than this, then this will be the hittable area.
simplification_toleranceclass-attributeinstance-attribute
simplification_tolerance: Number = 0.3The tolerance (in map units) used to simplify polylines for rendering.
Higher values result in more aggressive simplification, which can improve performance but may reduce the accuracy of the displayed polyline.