Uncaught TypeError: Object #<a Document#> has no method 'write'
Hazem Saleh (IBM) 2700027XCV Visits (5937)
This issue happens when you use GMaps4JSF with Google Chrome (also Safari) in Facelets XHTML files (The default PDL for JSF 2.0). Actually this issue generally happens when you make make any include to Google Maps inside XHTML files:
Just set the content type to "text/html":