Re: [mapguide-users] How to show a map (PHP)

2007-06-26 Thread David Hequet
that's sound's easy. Use Mapguide Studio to create a layout without toolbar, frame,status and without property window. You don't need to code to do that (if i didn't misunderstood what you need) akj006 wrote: > > Hello David, > > Firstly I would like to say a thanks to you thinking that you ca

Re: [mapguide-users] How to show a map (PHP)

2007-06-26 Thread David Hequet
i'm not sure it's possible to use $resourceService->SetResource($resourceId, $byteSource->GetReader(), null); for a mapdefinition. I now undestand what you wan't to do: To modify or create a mapdefinition before the layout loading Here is what you can find in the Audoesk devnotes: (it was in C#,

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread mates
I think i found a way.. It's posible save a MgMap object using $resourceService->SetResource($resourceId, $byteSource->GetReader(), null); ?? How i get $byteSource from MgMap object? mates wrote: > > Hi > > I now the devguide and how it's work (Weblayout -> MapDefinition -> > LayerDefin

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread akj006
Hello David, Firstly I would like to say a thanks to you thinking that you can solve my problem. My requirement is to display a reference map. Means I need a map in the place of the task frame. I need a map with out the tool bar property window task frame alone(map alone with smaller size). I am

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread mates
Hi I now the devguide and how it's work (Weblayout -> MapDefinition -> LayerDefinition -> FeatureSource) but i want an application that let the user first select few layers from a list (LayerDefinition are in Library defined) and then create a map with selected layers and show it. I try to save

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread David Hequet
Look at the Tutorial provided with Mapguide Studio to create an entire map from Data to Weblayout. The look at the "Hello Map" sample in devguide (you can download it here) that is a working php sample wich show a Map Ps: You can't show a map in a browser, you can only show a weblayout. The Tutori

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread mates
Hi Sorry, but I don't understood well what you mean. Can u pls explain better, Im a beginner :) I have already created a Weblayout, but I don't know how to get this map to this Weblayout. Show me a exapmle pls.. Thank you.. Mansoureh Sadrykia wrote: > > Hi! > > Why don't you use mapguid

Re: [mapguide-users] How to show a map (PHP)

2007-06-25 Thread Mansoureh Sadrykia
Hi! Why don't you use mapguide studio to create a webLayout and then define its address in your library by PHP?(As the code you've written for the mapDefinition) mates <[EMAIL PROTECTED]> wrote: I create a map and then i add a layer. Now i need it to show the map in the browser, but i d

[mapguide-users] How to show a map (PHP)

2007-06-24 Thread mates
I create a map and then i add a layer. Now i need it to show the map in the browser, but i don't know how to do it using PHP :( Can you help me pls? Open($userInfo); $id = $site->CreateSession(); $siteConnection = new MgSiteConnection(); $siteConnection->Open($userInfo); $resourceService = $si