Ticket #2077 (new feature)
Standardise CSS styling of all OL Controls, and give appropriate map controls a CSS style to prevent them printing
| Reported by: | CharlesHarrison | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.13 Release |
| Component: | Control | Version: | 2.8 RC2 |
| Keywords: | standardise displayClass CSS disable print | Cc: | |
| State: |
Description
As per title, certain controls have only to do with users control of the map, serve no useful function being printed, and when they are printed hide map data that may be useful. Examples would be: Button, EditingToolbar, LayerSwitcher, MouseToolbar, NavigationHistory, OverviewMap ( the +- button for it, arguably the overview itself should print if the map is printed while it is being displayed), PanZoom(Bar), ZoomBox.
These should be given a CSS style to prevent them being printed over the top of the map, for example (this just happens to be the one I use on my site, I'm not saying that these would necessarily be best settings for any, let alone all, of the above controls):
@media print { .noprint { display:none; margin:0; padding:0; line-height:0; } }
