Back to Openlayers

Webgl Draw Line

examples/webgl-draw-line.html

10.9.0746 B
Original Source

--- layout: example.html title: Draw lines rendered with WebGL shortdesc: Example showing how stroke styling options are represented with the WebGL renderer docs: > This example lets you tweak the stroke styling options dynamically to see how they affect line rendering. The line string showing by default can be modified and new ones can be drawn by single-clicking on the map. experimental: true tags: "draw, vector, webgl, line, dash" ---

Cap type butt round square

Join type miter round bevel

Line width (pixels) 12

Miter limit (ratio) 10

Line offset (pixels) 0

Enable dashes

Line dash pattern (px)

Line dash offset (pixels) 0

Enable image pattern

Pattern spacing (pixels) 0

Pattern start offset (pixels) 0