A SERVICE OF

logo

38 | Chapter 4 Enhanced Layer Functionality
Note To provide access to the enhanced layer functionality API for maps created
in earlier versions of Autodesk MapGuide, you need to open your existing maps in
Autodesk MapGuide Author 6.5, check this new option for the layers to which you
have applied the enhanced layer features, and then assign a passkey.
For more information about the existing security functionality, see “Speci-
fying Security for Layers” in the Autodesk MapGuide User’s Guide, which you
can access by clicking Programs Autodesk MapGuide6.5 Documentation
Autodesk MapGuide User’s Guide on the Start menu.
For more information about setting a passkey to access the enhanced layer
functionality API, see “Accessing the Enhanced Layer Functionality API” on
page 152 of Chapter 9, “Enhanced Layer Functionality API Additions.”
To provide access to the enhanced layer functionality from a layer
1 Double-click the name of the layer in the list.
The Map Layer Properties dialog box is displayed.
2 Click the Security tab to display the security options.
3 On the Security tab, select the Allow Access To Map Layer Setup From API
With Following Passkey.
4 Check the Allow API Access To The Layer’s Geometry Function and
Advanced Settings check box.
Note This option is only displayed if the layer uses a SDP or OLE Database data
source.
5 Specify a passkey by typing it in the Passkey edit box.
6 Confirm the passkey by typing it the Confirm Passkey edit box.
7 Click OK to close the dialog box.