[OpenLayers-Users] Displaying images even at the edge of the screen

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Tue Aug 10 10:20:49 EDT 2010


On Aug 10, 2010, at 9:42 AM, ext Tpi wrote:

> 
> I've read in the source code of Feature/Vector.js that there's a boundsOnly
> variable, which seems like what I'd need, as I want to check if the bounds
> are within the screen and then make sure the image gets drawn, even if it's
> just a few pixels of the image that's on the screen.
> 
> Anyone have any ideas how this is doable?
> 
> Would be very happy for any help! :)

If you're drawing point objects, this probably doesn't help you; the bounds
of a point are one dimensional, not based on the size of the image/graphic
that is symbolizing the point.

-- Chris




More information about the Users mailing list