Actually I *do* want to apply the same tooltip to all markers in a kml
file, since there is only one marker per file.  The problem is that I
have multiple kml files.

I tried a couple of things:
1. Create an instance of egeoxml for each kml file and apply a tooltip
based on the filename.  This is less than ideal, because I'd prefer to
use data from within the file rather than the filename.  In addition,
creating more than about 4 instances of egeoxml caused the browser (FF
or IE) or warn about a script running slowly.
2. Create one instance of egeoxml and pass it an array of filenames.
This runs faster (though still struggles with more than about 6 kml
files), but I can't see any way to assign tooltips specific to a file.

Is there an example somewhere of creating a custom createmarker
function, that illustrates the key features?

Thanks.

On Nov 15, 3:14 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> However, there's not a lot of point applying the same tooltip text to
> all the markers in the KML file.
>
> If you want to apply a different tooltip to each marker, then you'd need
> to write your own {createmarker} function to work out what the tooltip
> contents should be for each marker, and apply it.
>
> --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
-~----------~----~----~----~------~----~------~--~---

Reply via email to