I used GetPoint to find the coordinate. Here's an example of how I used
AddAnnotation in case that helps:
pt = GetPoint(94530)
AddAnnotation("Map|" + GetMap(), "Text",{{"Location", {pt,"C"}},
{"Font", "Arial|Bold|10"}, {"Color", ColorRGB(0,0,65535)}, {"Text",
"ABCDEF"}})
--- In [email protected], [email protected] wrote:
>
> Hi:
>
> I hope I can help. What is it that you would like to know? The help
> states:
>
>
>
> Location Type
>
> Window Type
>
> Comments
>
> Scope
>
> Map
>
> A compound variable with a center, width, and height; the angle is
> ignored. Use Scope() <Scope.htm> or ClickRectScope()
> <ClickRectScope.htm> to create a scope
>
> 2 coords
>
> Layout
>
> Compound variables with an X and Y. Use Coord() <Coord.htm> to create a
> coord or ClickRect() <ClickRect.htm> to create a rectangle of 2 coords
>
> A coord
>
> Layout, map
>
> A compound variable with an X and Y on a layout or a lon and lat on a
> map. Use Coord() or ClickCoord() <ClickCoord.htm> to create a coord
>
> A coord and an alignment string
>
> Map
>
> The coord is a compound variable with an X and Y on a layout or a lon
> and lat on a map; use Coord() to create a coord. The alignment string
> can be NW, N, NE, W, C, E, SW, S or SE
>
> A circle
>
> Layout, map
>
> A compound variable with a radius and center. Use Circle() <Circle.htm>
> or ClickCircle() <ClickCircle.htm> to create a circle
>
>
> Maptitude Mapping Software <http://www.caliper.com> Group Moderator
>
>
> --- In [email protected], "timmelko" <timmelko@> wrote:
> >
> > Good afternoon everyone!
> >
> > I'm hoping that someone can provide a better explanation of the
> {"Location", {Coord(57000, 57000), Coord(72200, 61200)}} function.
> >
> > The example that the Maptitude 6.0 help provides isn't clear enough as
> to how exact the 4 coordinates reference the locations properly.
> >
> > Currently it's all about trial and error for me
which works
> somewhat, but I'd rather actually understand the system.
> >
> > Here is one of my text annotations that I'm adding to a layout as an
> example:
> >
> > id = AddAnnotation("Layout|" + lyts[1][1], "Text", {
> > {"Text", "Date Printed - " + Right(GetDateAndTime(),4)},
> > {"Font", "Arial|8"},
> > {"Color",ColorRGB(0,0,0)},
> > {"Location", {Coord(57000, 57000), Coord(72200, 61200)}}
> > })
> >
> > Tim Melko
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Maptitude/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Maptitude/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/