On Dec 28, 1:29 pm, Thomas Leplus <[email protected]> wrote:
> Hello everyone,
>
> I am trying to migrate my simple map to the v3 API and I am having some
> issues: all I get (at least in Firefox 3.6) is a empty box with nothing in
> it. If someone would be kind enough to have a look, here is a live link:
>
> http://www.leplus.org/visitors/

The google.maps.Map constructor takes two arguments:
the div (which you are giving it, plus a mapOptions argument (which
the documentation says is optional, but there are several "required"
options):
http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/reference.html#MapOptions
You create the options but you don't include it in the call to the
constructor, try this:
return new
google.maps.Map(document.getElementById('map_canvas'),myOptions);

  -- Larry

>
> Thank you in advance for you help.
>
> Cheers,
>
> Tom

-- 
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