이승준 a écrit :
> I'm working with Canvas, and I have a problem at 'getGraphicsAt' and
> 'getGraphicsIn' which returns an array of Graphics.
> 
> When a user requests small area dragging mouse on a displayed map, it's ok.
> However on a large request, I've got OutOfMemory error.
> 
> Why don't they return Iterator instead of Array?

I fully agree that they should returns a Collection. It is an oversight in
org.opengis.go packages design. We wish to fix that for the next GeoAPI version,
but we are limited by available volunter time right now (we can not just change
the return type; we need to write a Request For Change and submit it to OGC for
approval).

        Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to