polygon_polygonwithdefaultlabel.ysld 280 B

123456789101112
  1. title: 'YSLD Cook Book: Polygon with default label'
  2. feature-styles:
  3. - name: name
  4. rules:
  5. - symbolizers:
  6. - polygon:
  7. stroke-color: '#FFFFFF'
  8. stroke-width: 2
  9. fill-color: '#40FF40'
  10. - text:
  11. label: ${name}
  12. placement: point