Wasn't it Ron who wrote:

>$file_pos = ( floor(($rowpx * $cols) + ($colpx)) ) * 2;

I suspect that you may need to floor($rowpx), and it wouldn't hurt to be 
defensive and floor($colpx) too, rather than just floor()ing the whole 
thing.

$file_pos = ((floor($rowpx) * $cols) + floor($colpx)) * 2;

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to