Re: MI Dynamically linking workspaces
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]
Re: MI Dynamically linking workspaces
Use a dialog box with pust buttons of no. of Workspaces you want to open and with each button, assign workspace of that area. You can put menu or toolbutton to open the dialog box. If you want I can send you a doc file containing the concept. (I am using the same way) === Aditya Executive (Systems) Information Systems Department GCMMF, Anand E-mail me at :[EMAIL PROTECTED] Web Site: http://www.amul.com === -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
Re: MI Dynamically linking workspaces
[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]
Re: MI Dynamically linking workspaces
create a workspace referencing your other worspaces !Workspace !Version 400 !Charset WindowsLatin1 Set Window MapBasic Position (0.125,5.28125) Units "in" Width 10. Units "in" Height 1.375 Units "in" Open Window MapBasic Run Application "C:\My Documents\test2.WOR" Run Application "C:\My Documents\test3.WOR" > Does anyone know how to dynamically link 1 to n number > of workspaces together into one map? I have multiple > workspaces.Each is in its own directory and each referencing > a different set of tables. My customer wants them all pulled into > one single map together at runtime. For example, if I select the > state of Georgia all table files for Georgia will be pulled together > into a single map. > > > Carter > -- > To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put > "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED] -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Dynamically linking workspaces
Does anyone know how to dynamically link 1 to n number of workspaces together into one map? I have multiple workspaces.Each is in its own directory and each referencing a different set of tables. My customer wants them all pulled into one single map together at runtime. For example, if I select the state of Georgia all table files for Georgia will be pulled together into a single map. Carter -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]