Fixed for Google Maps v3

Fixed example code and library code that would render incorrect tiles
over international dateline and at map North/South bounds.  General
Google Maps v3 upgrade in examples.