Actually I needed to go one step further
the trick is in opening the original map windows off-
screen
then combining them after they are open
pay attention to the position coordinates in the
test2.wor and test3.wor (5000,5000)
The main workspace that references the other workspaces:
!Workspace!Version 400!Charset WindowsLatin1Set Window
Run Application "C:\My Documents\test2.WOR"
Run Application "C:\My Documents\test3.WOR"
map from AK_Water,AL_cities
The first sub workspace test2.wor:
!Workspace
!Version 400
!Charset WindowsLatin1
Open Table "\\File server\mapinfo data\US
cities\AL_cities" As AL_cities
Map From AL_cities
Position (5000,5000) Units "in"
Width 5.29167 Units "in" Height 3.38542 Units "in"
Set Window FrontWindow() ScrollBars Off Autoscroll On
Set Map
CoordSys Earth Projection 1, 0
Center (-85.91372154,34.2273595)
Zoom 171.3219649 Units "km"
Preserve Zoom Display Zoom
XY Units "degree" Distance Units "km" Area Units "sq
km"
Set Map
Layer 1
Display Graphic
Label Line None Position Center Font ("Arial",0,9,0)
Pen (1,2,0)
With City
Parallel On Auto Off Overlap Off Duplicates On
Offset 2
Visibility On
The second sub workspace test3.wor:
!Workspace
!Version 400
!Charset WindowsLatin1
Open Table "Untitled" As Untitled Interactive
Open Table "\\FILE SERVER\MapInfo Data\Water\AK_Water"
As AK_Water Interactive
Map From AK_Water
Position (5000,5000) Units "in"
Width 5.29167 Units "in" Height 3.38542 Units "in"
Set Window FrontWindow() ScrollBars Off Autoscroll On
Set Map
CoordSys Earth Projection 1, 0
Center (-150.6285183,64.94407451)
Zoom 70.5508614 Units "km"
Preserve Zoom Display Zoom
XY Units "degree" Distance Units "km" Area Units "sq
km"
Set Map
Layer 1
Display Graphic
Label Line Arrow Position Above Font ("Arial",0,9,0)
Pen (1,2,0)
With Name
Parallel On Auto Off Overlap Off Duplicates Off
Offset 2
Visibility On
> [EMAIL PROTECTED] wrote:
> >
> > create a workspace referencing your other workspaces
>
> Not quite right, the asker wanted several workspaces pulled into one
> map.
> If workspace one and two each opens a map, you will still get two mapper
> windows.
>
> Here is a task for MapBasic, I think:
> Create a tool that allows the merging of two mapper windows, like if you
> have one standard workspace for a background map, and then one workspace
> for some thematic or some selection setup. Then you want to overlay the
> special mapper on the standard background.
> How do you do that?
> What if the suitcase could be dropped in another mapper?
>
> Just an idea, folks.
>
> Regards, Mats.E
> --
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> :Email/ [EMAIL PROTECTED] ICQ#9517386 :
> :---------------------------------------------------------------------:
> :Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
> :Phones: +46 46 145959, +46 70 595 3935 :
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]