On Dec 29, 5:21 pm, shaun105 <[email protected]> wrote:
> My map is embedded witin my site, when it was first placed there by
> the old WM my members who where on line appeared on the map as an
> icon. Now even though they are online they do not appear. Is there a
> code I need to amment this.

What message do you get when you double-click the yellow exclamation
mark in the status bar in IE? Something about G_MAP_TYPE not being
defined? That particular constant stopped working in October 2008,
although Version 1 which it was part of became obsolete a long time
before that.

Trying to set the map type to a non-existent type fails, and the code
stops dead. You get a map because you have set the centre by the time
it fails, and the normal map is the default anyway. So you can simply
remove
  map.setMapType(G_MAP_TYPE);
BUT there are lots of other problems with using Version 1 code. You
need to upgrade your code to use Version 2 of the API. There's an
upgrade guide to help with that: mostly it's a straight one-for-one
match. See http://code.google.com/apis/maps/documentation/upgrade.html

I can't see any code to add your members to the map, though. Perhaps
there are none online and that code isn't output by the PHP.

Andrew

--

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