The Named Views tool saves a map's view, position and zoom settings, so you can return to them as needed. This is useful if there is a neighborhood or other area you need to refer to frequently. The Named Views window is dockable.
You can use other user's list of views by copying the NViews.XML file to the following location:
%APPDATA%\MapInfo\MapInfo\nviews.xml
For information about how to add a tool to the Tool Manager, see Working with MapInfo Pro Tools.
Creating a Named View
To create a named view:
- Display the map at the exact position and zoom level you want to return to.
- Run the Named Views tool to display the Named Views dialog box. See Running a Tool for details.
- Click Add and type a description of the current map view. Click Add to save your description.
To return to a named view:
- Display the map at the exact position and zoom level you want to return to.
- Run the Named Views tool to display the Named Views dialog box.
- Click the named view you want to return to in the list and click GoTo to display your requested view.
Description of Named View Options
Add button
Displays the Add Named View dialog box. When the user clicks OK, the application adds a new node to the Treeview control. The position of the new node is based on the currently selected treeview node.
Goto button
Changes the view of the front most window. If the front most window is not a Map window, then the application displays an error message.
You cannot return to the view information and issue the code from MapBasic.
New Folder button
Inserts a new Folder node into the Treeview control and immediately puts the node into label edit mode so you can rename it. The default name of the folder is "New Folder", unless there is already a folder with that name. The position of the new node is based on the currently selected Treeview node.
To expand or collapse a node, double-click its Folder node.
Move button
Displays a dialog box that contains the tree structure without the View nodes. When you click OK, you move the selected node (Folder or View) under the target node. If a node with the same name already exists under the Target node, then an error message displays and the move does not occur.
Rename button
Puts the currently selected node into label edit mode.
Press F2 while the Treeview has focus to perform the same operation as selecting the node and clicking Rename.
Delete button
Displays a confirmation dialog box before deleting the selected node. If the selected node is a Folder node, a confirmation dialog box displays warning that all contents of the folder will be deleted.
If you click Delete while the Treeview has focus, the application behaves the same way as selecting the node and clicking Delete.
You can drag and drop Folder and View nodes using the mouse.