Thanks Bill! Man I thought Rod Serling was going to walk out from behind my
monitor and ash on my mouse.
Bill Landis...
Mapping Services Coordinator
CB Richard Ellis
602 735 5233
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Bill Thoen [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, January 28, 1999 1:49 PM
To: Landis, Bill @ Phoenix
Cc: MapInfo Mail List 1 (E-mail)
Subject: Re: MI Center of a Polygon
> 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]