> I am a student using a server hosted by my department. It requires a
> vpn connection to access the server. I said I cannot post a link
> because it will not allow access without the departmental vpn.

You need to find some free hosting for your map page, then.  I'm sure
your department doesn't want you to break the terms of service that
you agreed to when you got your key.

function init() {
...
  var map = new ...

'map' is local in scope to the function. After the function has
completed, 'map' is no longer accessible.  Events run onclick are run
long after the function has completed.
http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=%27map%27+variable+scope

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