[Geoserver-devel] [jira] Created: (GEOS-4768) label-anchor not working as expected - CSS Styling

label-anchor not working as expected - CSS Styling
--------------------------------------------------

                 Key: GEOS-4768
                 URL: https://jira.codehaus.org/browse/GEOS-4768
             Project: GeoServer
          Issue Type: Bug
          Components: Community modules
    Affects Versions: Community
            Reporter: David Collins
            Assignee: David Winslow
            Priority: Minor
             Fix For: 2.1.x

As requested ..

In the CSS tutorial, this label anchoring works ..

    * {
      stroke-width: 0.2;
      label: [STATE_ABBR];
      label-anchor: 0.5 0.5;
      label-offset: 0.0 0.0;
      font-family: "Times New Roman";
      font-style: normal;
      font-size: 14;
    }

Two bugs ..

1. If label-offset line is removed, label-anchor no longer works

2. If label-anchor is only given an X value, it does not work - ie. it needs to be given both X and Y values to work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira