Hi,

I'm trying to run the "Too Many Markers" Example by Miguel Ángel
Vilela [1] on my server [2] but the kml layer won't work. I guess the
problem is here [3] in the toggleKmlLayer() function.

I'm writing a service which needs to set a layer of many markers at
runtime. The easiest way would be via a kml file, but i'm using google
app engine so I cannot generate a file, store it and reload from a
static url. Unfortunately I haven't found something like a
parseKml(String) method in the google maps api yet.
My next idea was to let my application create a json object, give it
to the client and access it in a similar way as shown in this example
- but unfortunately it doesn't even work copying the files 1 to 1 to
my server...

Does anybody know why it won't work or has another idea for my problem
(optimally via kml, but I'm losing hope that this will be possible at
runtime).

Thanks a lot

Felix Kiechle


[1] 
http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/toomanymarkers.html

[2] http://kiechle.e8u.de/linkedService/toomanymarkers.html

[3] var kmlUrl = window.location.href.substring(
        0, 1 + window.location.href.lastIndexOf('/')) + 'markers.kml';

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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