There are a few errors in your kml. Here you got it valid

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fxxamples.googlepages.com%2Fsravan.kml&ie=UTF8&z=15

Try to check your kml files here

http://feedvalidator.org/





On Mar 23, 11:01 am, sravan kumar gudivada <[email protected]>
wrote:
> Hi Sir,
>           Thanks for your quick reply, after changed problem is solved but i
> am not able to plot line....i debug through the firebug..the below kml file
> generated...
>
> "<?xml version="1.0" encoding="UTF-8"?>\n
>    <kml xmlns="http://earth.google.com/kml/2.1";>
>     <Document>
>               <name>routeplan</name>
>                <description>route plan between two selected
> places</description>
>               <Style id="Style1">
>
> <LineStyle><color>990000ff</color><width>4</width></LineStyle>
>               </Style>
>         <Placemark>
>                 <name>hgh</name>
>                  <description>T to K</description>
>                    <StyleURL>#Style1</StyleURL>
>                    <LineString>
>
> <altitudeMode>relativeToGround</altitudeMode>
>                 <coordinates>76.874685,8.566569,0 76.876230,8.562495,0
> 76.876574,8.555875,0 76.877003,8.552140,0
> </coordinates></LineString></Placemark></Document></kml>\n"
>
> this i got from firebug, but i am not able to get the poly line among those
> points, what is the problem??
>
> Thanks in advance,
> with sincerely,
> sravan
>
> On Mon, Mar 23, 2009 at 3:19 PM, Rossko <[email protected]> wrote:
>
> > > $query="SELECT * FROM route where route_name=" .$_GET['route_name'];
>
> > Try this
>
> > $req_route = $_GET['route_name'];
> > $query="SELECT * FROM route where route_name = '$req_route' ";
>
> > You have to use quotes carefully in the SQL when dealing with strings,
> > rather than numbers. This is not a maps problem, maybe you should look
> > at some MySQL tutorials.
>
> > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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