Move map setup logic from preview to the WMS reflector
------------------------------------------------------
Key: GEOS-1088
URL: http://jira.codehaus.org/browse/GEOS-1088
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Minor
Fix For: 1.5.1
Chris said:
I would like to try to move most all the logic from the MapPreviewAction to wms/servlets/Reflect.java So you can do http://…/geoserver/wms/reflect?layers=topp:states&format=‘openlayers’ and get the same openlayers preview that you'd get from the preview page. Then the preview page can theoretically stop doing the calculations (though I guess it may do the calculations less by caching better?), it would just be the same link as above. This will be a nice improvement for the wms reflector as well. Right now http://localhost:8080/geoserver/wms/Reflect?layers=topp:states&format=openlayers will work, but it selects really bad defaults for bbox size (ie the whole world). This is basically this issue: http://jira.codehaus.org/browse/GEOS-1047 - note it's only when the user doesn't supply a bbox: instead of getting the whole world we grab the value from the featureType.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira