Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] How to open a map and display it on workspace

Could you review the OpenMapAction class and ask questions about what is not clear? Perhaps place a breakpoint in the debugger to see how it works?

You should probably just be able to *make* an OpenMapAction and use it to "open a map and display it on a workspace".

I think it loads the map into the current project; an then creates a MapEditor to show the map; and then opens the MapEditor.

-- 
Jody Garnett

On Wednesday, 18 April 2012 at 5:12 PM, kranthi kumar wrote:

please tell some what clear.

On Sat, Apr 14, 2012 at 1:34 PM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
Hi Nanithe:

I think you need to add the loaded Map to the project the user is working
in; and then you can use the open map command.

For a code example I suggest looking at the source code of "OpenMapAction".


--
Jody Garnett


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
_______________________________________________
User-friendly Desktop Internet GIS (uDig)


Back to the top