Architecture and Performance
|
51
Accessing Data from the Autodesk MapGuide Viewer API
Map authors can control whether developers can access coordinate values
and map layer setup data using the API
getVertices()
and
getLayerSetup()
methods. You control the security of this data from the Map Layer Properties
dialog box in Autodesk MapGuide Author. If you allow API access, you can
also specify that the application must send a specific passkey first, which the
application developer passes in with the
unLock
method. The developer can
then use the
getVertices()
and
getLayerSetup()
methods to access the coordi-
nate values and layer setup data. For more information, refer to the
Autodesk
MapGuide Viewer API Help
.
We do not recommend hard coding the passkey in your HTML application
script because users can always view the source code of an HTML page. One
option is to prompt users for their user IDs and passwords when they attempt
to view secured data and then authenticate the user ID and password against
a database on your server.
Map authors can also control whether developers have access to the
tracking ID using the
getTrackingID()
and
setTrackingID()
methods. You
control the security of this data from the Map Window Properties dialog box
in Autodesk MapGuide Author.
Architecture and Performance
This section discusses the different server agents and distributed architec-
tures that you can implement for your Autodesk MapGuide Server and how
they affect performance. On installation, Autodesk MapGuide Server selects
a map agent based on the web server it detects. You can, however, go back to
the installation program and install a different map agent at any time.
Which MapAgent to Install
There are three types of Autodesk MapGuide Server agents (MapAgents) that
you can install:
CGI
This agent works on any type of web server and is easy to install.
Therefore, if this is your first time building a web server, you might want
to install the CGI agent instead of the ISAPI or NSAPI agents to avoid com-
plications. However, you should note that CGI applications do not scale
well on Windows NT/2000, meaning that they will not be able to take
Содержание 15606-011408-9320 - MAP R6.3 CPU MODEL-UPG 4/5 MIN 2 CPUS INITL
Страница 1: ...15505 010000 5020 July 2000 USER S GUIDE ...
Страница 8: ...viii ...
Страница 26: ...26 ...
Страница 88: ...88 ...
Страница 146: ...146 ...
Страница 168: ...168 ...