I'm getting the same error. I do not understand why the most basic
doctype "<!doctype html>" causes Google Maps not to show up.
On the other hand, dropping the doctype-statement causes my lay-out to
change.

On 18 nov 2009, 06:00, rmtroutfitters <[email protected]>
wrote:
> When I add a doctype to my file the map does not show. I found this
> FAQhttp://code.google.com/apis/maps/faq.html#loadasync
>
> Does that mean I have to put a button on my site to load the map??
>
> On Nov 15, 12:30 am, String <[email protected]> wrote:
>
> > On 14 Nov, 03:02, APh <[email protected]> wrote:
>
> > > If I want to code by v3 than what type (version, style) of HTML (and
> > >DOCTYPE) I must use for perfect code?
>
> > As Stephen said, it really shouldn't matter as long as your page is
> > well-formed - and if you're already using W3C's validator you're going
> > in the right direction.
>
> > As an aside, SOME early v3 examples had problems with SOME doctypes on
> > SOME browsers because they didn't specify enough CSS to lay out the
> > page fully on those browser/doctypecombinations. But this wasn't an
> > API problem, and shouldn't affect you.
>
> > String
-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.


Reply via email to