Hi Andrew, I deleted the line map.setMapType(G_MAP_TYPE); I then checked the version to my surprise it was v2 As soon as I did that the icons appeared and the error query has gone. Thank you very much for your suggestion
Best Regards Shaun Brown CEO AerLingus VA www.aerlingus-va.org -------------------------------------------------- From: "Andrew Leach" <[email protected]> Sent: Tuesday, December 29, 2009 5:35 PM To: "Google Maps API" <[email protected]> Subject: Re: various member location > 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. > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.722 / Virus Database: 270.14.123/2592 - Release Date: > 12/29/09 07:47:00 > -- 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.
