Non-clipped polygon annotation
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Wed Dec 19 15:28:52 EST 2007
There are 2 macros for doing that, MS_MAP2IMAGE_X and MS_MAP2IMAGE_Y. They are
defined in mapserver.h and you can see them being used in circle or point handling code
in msDrawShape().
Steve
>>> On 12/19/2007 at 1:01 PM, in message <47696A79.80908 at project10.net>, Shawn
Gervais <project10 at project10.net> wrote:
> Steve Lime wrote:
>> I would have expected msPolygonLabelPoint() to produce a label point in
>> map coordinates and then that would have to be converted to image
> coordinates before
>> use.
>
> Looking at this again, I think I understand what you're saying -
> transform the annopoint to image coords. This would probably work, but I
> can't see to find a "msTransformPoint" function or similar. Am I missing
> some obvious one that does exist?
>
> -Shawn
More information about the mapserver-dev
mailing list