Ciao Benedetto,
I used the same approach with an application written in java in the
AppEngine.
In that case I have a JSP page which outputs the KML (actually KMZ)
dinamically.
You should be able to do the same in any other language (PHP, phyton, cgi):
produce the KML in memory and write it to output. Pay attention to:
- declare the correct Mime type
- the number of features must be less then 10000
- the size of the KML content must be less then 10 Mb

Hope it helps,
Davide

PS Have you considered usign FusionTables layer? They are quite powerful for
filtering data dynamically.




2010/6/9 benedetto.bozano <[email protected]>

> Hi all,
>
> I have a database containing several paths, each with its lat/long
> points. I need to retrieve a subset of these paths and display it on a
> map. I thought of using a KML Layer to do this, but apparently I need
> a phisical KML file stored on my web server to pass as a parameter to
> the constructor. Of course in my scenario this is not the case, since
> the best I can do is to build a properly formatted in-memory KML
> string with the results I'm interested in. But then so far I did not
> find a way to consume this data...
> Is there another way to do this?
>
> Many thanks in advance to anyone that can help!!!
>
> ben
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to