Dear Armin,

I've found a strange behaviour of p.mapper using ANNOTATION layer.

If I have the following layer definition, search cannot zoom to the
found elements (waiting forever looking at working)
LAYER
         NAME felirat
         DATA "alapterkep/f"
         TYPE ANNOTATION
         STATUS ON
         LABELITEM "F_TEXT"
         SYMBOLSCALE 1000
         MAXSCALEDENOM 3001
         LABELMAXSCALEDENOM 3001
         CLASS
                 LABEL
                         COLOR 0 0 0
                         SHADOWCOLOR 255 255 255
                         SHADOWSIZE 1 1
                         SIZE 7
                         POSITION ur
                         FONT txt
                         TYPE TRUETYPE
                         ANGLE [IRANY_T]
                         ENCODING "ISO8859-2"
                 END
         END
         METADATA
                 DESCRIPTION "Feliratok"
                 LAYER_ENCODING "ISO8859-2"
         END
         TEMPLATE "dummy"
END

If I change the layer type to POINT (drawing invisible points) pmapper can 
zoom to found elements.
The working layer definition
LAYER
         NAME felirat
         DATA "alapterkep/f"
         TYPE POINT
         STATUS ON
         LABELITEM "F_TEXT"
         SYMBOLSCALE 1000
         MAXSCALEDENOM 3001
         LABELMAXSCALEDENOM 3001
         CLASS
                 COLOR -1 -1 -1
                 LABEL
                         COLOR 0 0 0
                         SHADOWCOLOR 255 255 255
                         SHADOWSIZE 1 1
                         SIZE 7
                         POSITION ur
                         FONT txt
                         TYPE TRUETYPE
                         ANGLE [IRANY_T]
                         ENCODING "ISO8859-2"
                 END
         END
         METADATA
                 DESCRIPTION "Feliratok"
                 LAYER_ENCODING "ISO8859-2"
         END
         TEMPLATE "dummy"
END

Is it a feature or a bug?

Thanks,
Zoltan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to