thanks for reply, but i want to take that displaying map as BufferedImage input. so please tell how to access that map as BufferedImage input file for example: BufferedImage image=ImageIO.open(input); here: input: should be come from udigEditor -> after opening image(map), i want that current displaying layer as input so please tell this
On Wed, Apr 18, 2012 at 12:44 PM, andrea antonello <[email protected]> wrote: > You might want to look at: > net.refractions.udig.project.ui.ApplicationGIS.drawMap(DrawMapParameter) > > If you pass the current vieport parameters, it will create you the same image. > > Andrea > > On Wed, Apr 18, 2012 at 9:11 AM, nanithehaddock > <[email protected]> wrote: >> I'm new to udig. and i'm trying to access the input image(map) which is >> already displaying in Udig-Editor >> >> the following is my code to take udig map editor: >> Display display=Display.getCurrent(); >> IWorkbenchPage >> workbenchpage=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); >> IEditorInput >> editorInput=workbenchpage.getActiveEditor().getEditorInput(); >> please help me. >> >> -- >> View this message in context: >> http://gis.19327.n5.nabble.com/How-to-access-displaying-image-from-UdigEditor-tp5648383p5648383.html >> Sent from the uDig Developer mailing list archive at Nabble.com. >> _______________________________________________ >> User-friendly Desktop Internet GIS (uDig) >> http://udig.refractions.net >> http://lists.refractions.net/mailman/listinfo/udig-devel > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
