Follow us on Twitter

Embedding Maps


Maptitude maps can be embedded into another application. Any target application that supports Windows OLE (Object Linking and Embedding) 2.0 can be used. OLE has the advantage that the user can modify the map from the target application. This application knows that Maptitude created the map, so it can start Maptitude for editing purposes. The downside is that a user must have Maptitude installed if they want to view the embedded map.

Maptitude supports both object embedding and linking. Embedding causes a copy of the map to be included in the target application’s document. Linking causes a file reference to be included instead. This uses less disk space and will auto-refresh when the document is opened. However, it is also reliant on the map files not being moved or deleted. The following descriptions describe embedding, but linking is generally the same. The target application will provide either alternative menu items (e.g. Paste Link in addition to Paste) and/or extra check boxes or radio buttons to specify a link.

Maptitude supports a number of ways of creating an embedded map:

Via the Clipboard

You can simply cut-and-paste the map into the target application. Do this by selecting the required map view and then selecting Edit->Copy off the main menu. Complete the operation by pasting from the clipboard into the target application at the required location. Here is an example map that has been pasted into Microsoft Word:

A Maptitude map embedded into Microsoft Word as an OLE object

A Maptitude map embedded into Microsoft Word as an OLE object

From the Target Application

You can also insert a Maptitude map from within the target application. The exact name for the command will vary between applications, but will be something like “Insert Object”. Choose Maptitude Map from the list of object types. This will start Maptitude if it is not already running. Create the map that you want and then select File->Update from the Maptitude main menu to update the object in the target application.  Close the map in Maptitude by selecting File->Close or File->Exit.

The target application should also let you insert an object based on an existing file. When doing this you only need to select the required Maptitude .MAP file.

Drag and Drop

Maptitude also supports OLE Drag and Drop. To use this method, first display both the Maptitude window and the target application window on the screen, next to each other. Then click on the OLE Drag and Drop tool on the main toolbox:

The main toolbox. The OLE Drag and Drop tool is at the bottom left.

The OLE Drag and Drop tool is at the bottom left.

Click the left mouse button over the required map, and then drag it to the required position in the target application. This will start the embedding process and may take a few minutes.

Note: The OLE Drag and Drop tool may look slightly different in different versions of Maptitude, but it is always at the bottom of the main toolbox.

Deleting and Editing Embedded Maps

OLE also supports the editing and deleting of embedded objects. The exact process might vary between target applications, but an object is typically edited by double clicking on the embedded object. This will then cause Maptitude to be started with the object, allowing it to be edited. Update the embedded object by selecting File->Update on the main Maptitude menu.

Similarly, an object is deleted by clicking on it once (to select it) and then pressing the Delete key.

Leave a Reply




You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">