> I have a grid of polygons created with the grid maker .mbx.  I
> am writing an
> .mbx that calls for the map window to center on the polygons in
> sequence.
> However, the window is "centering" on the lower left corner of
> the squares.
> When I label the polygons and set the label to label in the
> center, it puts
> the label over the lower left corner of the squares.  Anyone
> got any ideas
> as to what is going on?

When your gridmaker.mbx made those cells it didn't specify their
centroids, and so it used the last point it drew as a default
(which was the corner). In the code (or manually) convert these
polygons to polylines and then back again to polygons. That will
cure it.

- Bill Thoen


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to