Opened 13 years ago
Closed 12 years ago
#453 closed enhancement (fixed)
MapFishPrint proxy - no resource titles
Reported by: | adube | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.6.0 |
Component: | server | Version: | trunk |
Keywords: | bis-1.6.0 | Cc: |
Description
Currently
When printing with the legend enabled, the 'legends' added in the spec always include resource titles.
To do
It would be nice it this was an option (service).
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the solution, jlacroix.
Fixed in r1403 :
- new service 'legendTitles' option, only supported by mapfishprint, defaults to false
- when set, resource titles are used and added as legend layer name in the spec, otherwise the hack mentioned above is used.
- documentation added
Note:
See TracTickets
for help on using tickets.
We can't remove the resource title because of a MapFishPrint bug/feature. However there's a bug that prints all the icons without titles if the last layer in the legend has a title.
I'll add a dummy layer at the end of the MapFishPrint Spec and set its name to ".". This way if we set the font size to 1, the dot shouldn't appear on the page.