hmmm, can you explain what you mean, I'm not checking the bounds anymore, I'm checking the count in a loop of markers being plotted on the map...
so... $i=0; $result = (some query to the database); while ($row = fooo etc etc); map.addOverlay(main_marker['.$i.']); $i++; }// end while loop so $i must be 1 or 0 if there is only 1 marker to plot :) or no markers to plot [and if there was no markers, you would not have the link to click the word CANADA anyway, so it must be 1 :) so if $i < 2 etc etc... seems to work, but I maybe wrong of course, been a long day for me today :) ... alec http://groups.google.com/group/gtrack On Jan 22, 11:22 pm, Rossko <[email protected]> wrote: > > Hey, I fixed it using $i count... one of those 'doh' moments :) > > Don't forget that will fail if there's more than one point in the > bounds, but they are close together. Depends what your app does. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
