singularity2
12-03-2005, 03:18 AM
I want to draw a line between 2 placemarks, each returned from a separate network link. Is there any way?
Could I store the coordinates in some sort of variable, returned in the kml from one network link, that is then reference in the 2nd network link kml? (BTW, the content from the network links is under my control).
Or, if there was a way to name a point's coordinates, and then reference them via name in the content return from the second network link - then that would be perfect.
If this sounds confusing, here's an example: network link 1 returns a KML file with a placemark of my house. network link 2 (different server than network link 1) returns a placemark of a friend's house. I want to draw a linestring between them, but the KML returned from each server is unaware of the GPS location of the placemark from the other server. But, each could know the name of the other house in my example. So, the second link could reference the coordinates of the other by a name "FredsGPSLocation", if KML allowed such a thing...I just can't find a way to do this with KML.
thanks!
Could I store the coordinates in some sort of variable, returned in the kml from one network link, that is then reference in the 2nd network link kml? (BTW, the content from the network links is under my control).
Or, if there was a way to name a point's coordinates, and then reference them via name in the content return from the second network link - then that would be perfect.
If this sounds confusing, here's an example: network link 1 returns a KML file with a placemark of my house. network link 2 (different server than network link 1) returns a placemark of a friend's house. I want to draw a linestring between them, but the KML returned from each server is unaware of the GPS location of the placemark from the other server. But, each could know the name of the other house in my example. So, the second link could reference the coordinates of the other by a name "FredsGPSLocation", if KML allowed such a thing...I just can't find a way to do this with KML.
thanks!