Modify ↓
Opened 14 years ago
Closed 14 years ago
#6035 closed enhancement (fixed)
[PATCH] Add extra polygon shapes to MapCSS painter
Reported by: | jcollie | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
This is a small patch that adds several regular polygons to the MapCSS painter. Shapes include triangle, pentagon, hexagon, heptagon, octagon, nonagon, and decagon.
Attachments (4)
Change History (7)
by , 14 years ago
Attachment: | 0001-Add-some-more-symbol-shapes-to-MapCSS-styles.patch added |
---|
by , 14 years ago
by , 14 years ago
by , 14 years ago
Attachment: | test.mapcss added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Summary: | Add extra polygon shapes to MapCSS painter → [PATCH] Add extra polygon shapes to MapCSS painter |
---|
another one:
symbol-shaper: diamond;
(Square with tip at the top.)
Note:
See TracTickets
for help on using tickets.
If you have the ambition, try to avoid sin and cos for performance reasons (use cached values and/or rotation matrix). This optimization will only be noticeable when there are a lot of nonagons and decagons on screen, so take it as a suggestion and not as a demand.
Another idea:
(Patch will probably not be applied before next release.)