The problem appears to be in your PHP script (which we can't see from
here). It only generates one of these:
var marker = createMarker(new GLatLng(latitude, longitude),info,
callsign);
map.addOverlay(marker);
So the HTML only displays the one marker.
Your script creates lots of sections that create data like this:
var callsign = "DAL440";
var realname = "Sagi Yanay - LLHZ";
var latitude = "22.51883";
var longitude = "-70.54367";
but only the last set of data is followed by a createMarker() call.
Hint: It's also a good idea to convert those coordinates from strings to
numbers. parseFloat(latitude), parseFloat(longitude).
Hint: It's also a good idea to validate your HTML. MSIE might get a bit
confused by encountering content after your first </head> tag but before
your <body> and by having <script> inside a <table>.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---