[Geoserver-devel] [jira] (GEOS-5349) Allow setting default width and height for layer preview

Evan Martin created ImprovementGEOS-5349
Allow setting default width and height for layer preview

Issue Type:

ImprovementImprovement

Affects Versions:

2.2

Assignee:

Andrea Aime

Components:

UI

Created:

14/Oct/12 9:58 PM

Description:

Layer Preview in OpenKML format is very useful to use GeoServer as a standalone application (client and server), but I find that I have to manually hack the URL to resize the preview every time. Please allow configuring the default width and height for a preview, either globally or per-layer. The URL I mean is this one:

http://localhost:8080/geoserver/aixm/wms?service=WMS&version=1.1.0&request=GetMap&layers=mylayer&styles=&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

and it’s the “width=660&height=330” I’d like to change.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Evan Martin

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)