Peter, did I mention I was a newbie to this stuff?  Okay, so I replace my old code

        scp=GetMapScope()
        coords = GetScopeRect(scp)        
        ShowArray(coords)

with

ShowArray(GetScopeCorners(GetScopeRect(GetMapScope())))

and it compiled with now errors but when I ran it, I received the following error:
"Parameter 1 has wrong type of function GetScopeCorners. Expected scope, found array. Click OK to Continue.       Reference info: maplimits_click, 21, 8."



Viktor Keenan de la Hoz - Senior GIS Technician
City of Phoenix - Street Transportation Department
Design and Construction Management Division



"Peter H. Van Demark" <[EMAIL PROTECTED]>

02/28/2005 02:10 PM
Please respond to Maptitude

       
        To:        [email protected]
        cc:        
        Subject:        Re: [Maptitude] map window limits




Viktor:

>The key was assigning the "GetScopeCorners() to a variable that I could
>then display, which I figured out that one way was using the ShowArray()
>command. I only mension this because although it's a simple macro, it
>wasn't that obvious or intuitive to me even with the GISDK online help.
>Hopefully this will be helpful to some of the GISDK newbies like myself
>out there:)

Note that each of your statements saves a value to a variable, which is
then used by the next statement. You don't need all those statements,
because the value returned by one GISDK function can go right to the next,
like this:

ShowArray(GetScopeCorners(GetScopeRect(GetMapScope())))




Peter

----------------------------------------------------------------
Peter Van Demark
Director of GIS Products and Training        Phone: 617-527-4700
Caliper Corporation                            Fax: 617-527-5113
1172 Beacon Street                     E-mail: [EMAIL PROTECTED]
Newton MA 02461-9926            Web site: http://www.caliper.com




------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EA3HyD/3MnJAA/79vVAA/C5grlB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/Maptitude/

<*> 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/







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to