LEGEND_OPTIONS:  forceLabels doesn't work
-----------------------------------------

                 Key: GEOS-2097
                 URL: http://jira.codehaus.org/browse/GEOS-2097
             Project: GeoServer
          Issue Type: Bug
          Components: Google Earth KML Output, WMS
    Affects Versions: 1.6.x
            Reporter: Wayne Fang
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 1.6.x
         Attachments: legendOptions_Aug05_2008.patch

[legend text forced 
ON|http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&bbox=-180,-90,180,90&format_options=LEGEND:true;KMSCORE:0;KMATTR:true;&legend_options=forceLabels:on]
[legend text forced 
OFF|http://localhost:8080/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&bbox=-180,-90,180,90&format_options=LEGEND:true;KMSCORE:0;KMATTR:true;&legend_options=forceLabels:off]

Doing a wms request with a legend and specifying the forceLabels legend option 
doesn't work.  The parameter gets dropped when the getLegendGraphicUrl is 
encoded to KML.

The included patch takes the raw legend_options kvp string and passes it along 
as an optional kvpArray (instead of always passing 'null').

This also affects (and fixes) trunk.

-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to