line_labelfollowingline.ysld 317 B

1234567891011121314
  1. title: 'YSLD Cook Book: Label following line'
  2. feature-styles:
  3. - name: name
  4. rules:
  5. - symbolizers:
  6. - line:
  7. stroke-color: '#FF0000'
  8. stroke-width: 1
  9. - text:
  10. label: ${name}
  11. fill-color: '#000000'
  12. placement: line
  13. offset: 0
  14. x-followLine: true