BTW,
an easy way to save words and get array contents returned by functions into
variables is to do it this way:
{MinCoord, MaxCoord}=GetScopeRect(scp)
Also
note, you can use ShowArray() to show a lot of things by composing an
array:
showarray({"MinCoord', MinCoord, "MaxCoord",
MaxCoord})
Larry
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 3:57 PM
To: [email protected]
Subject: Re: [Maptitude] map window limits
Thanks Larry,
at first I wasn't sure what to do with the commands because I was looking to display the map windows bounds some how. What I ended up doing was the following:
//Gets the the current scope of the current map view and displays the limits in an array box.
scp=GetMapScope()
coords = GetScopeRect(scp) //this command gets the lower and upper
//limits of the current map view
//coords = GetScopeCorners(scp) //this command gets the coordinates of the four corners
//of the current map view
ShowArray(coords)
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. Hopefullly this will be helpful to some of the GISDK newbies like myself out there:)
Viktor Keenan de la Hoz - Senior GIS Technician
City of Phoenix - Street Transportation Department
Design and Construction Management Division
Viktor Keenan/STR/[EMAIL PROTECTED] 02/23/2005 03:25 PM
Please respond to Maptitude
To: [email protected]
cc:
Subject: Re: [Maptitude] map window limits
Does anyone know how to get the upper and lower limits of a map window in Lon/Lat?
Viktor Keenan de la Hoz - Senior GIS Technician
City of Phoenix - Street Transportation Department
Design and Construction Management Division
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
<<ATT00049.gif>>
<<ATT00052.gif>>
