Hello,

setContext(.) defines the "context" which holds the displayed layers

setMapArea(.) defines the area to zoom to

isReset(.) checks whether setReset(true) was previously called, so every 
layer is updated on next repaint(); without setReset(true) changes on 
layers (e.g. new features) do not become visible (as my experience is!)

Kind regards

Martin Schmitz

nvidia schrieb:
> Hi, 
> 
>     would somebody kindly explain what the following functions do:
> 
> public void setContext(MapContext context)
> 
> public void setMapArea(Envelope mapArea)
> 
> public boolean isReset();
> 
> because i can't find any description of this in the user guide with
> referrence to using a JMapPane or even in API
> http://javadoc.geotools.fr/2.3/org/geotools/gui/swing/JMapPane.html which i
> found was not greate 
> :(.
> 
> 
> Cheers




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to