Dear MAPINFO-L My agency has developed a MapBasic 7.5 program to generate a series of geographic state-based map layouts starting from a specified map window-legend window pair.
Now we'd like to add a new option to this program to generate a single map layout containing a main map surrounded by several "inset" maps each showing a zoomed-in portion of the main map. In this case the layout would contain a number of Frame objects, the Main Map Frame linked to a map window with a wide-area view and each Inset Map Frame linked to a cloned copy of the map window with its own zoomed-in view. For sure, you can use MapBasic programmatically to clone a non-thematic map window. You do it layer by layer using LayerInfo() repeatedly to find Display and Label properties of each "conventional" map layer, then use Add Map and Set Map statements to create copies of each layer and set the corresponding properties in the new copies. However, if the map contains any thematic layers, then this procedure breaks down, because MapBasic doesn't seem to have a ThematicLayerInfo() function to expose the properties of a thematic layer so that they can be reproduced programmatically in a new map. Question: Is there a general MapBasic procedure to "clone" an existing thematic map window so that the cloned copy can be zoomed in without disturbing the view parameters (centre, zoom) of the main map. David Haycraft GIS Manager Research & Data Analysis Branch Australian Federal Dept of Employment and WorkPlace Relations (DEWR) Notice: The information contained in this e-mail message and any attached files may be confidential information, and may also be the subject of legal professional privilege. If you are not the intended recipient any use, disclosure or copying of this e-mail is unauthorised. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete all copies of this transmission together with any attachments.
