thanks for your response
i m facing some problems in my metwork unable to post the link. i have
pasted the code again it is reviewed this time
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-
microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/
>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?
file=api&v=2.118&key=dfdfe" type="text/javascript"></script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="map_canvas" style="width: 70%; height: 480px;
float:left;border: 1px solid black;"></div>
<div id="route" style="width: 25%; height:480px;
float:right;border; 1px solid black;"></div>
<br/>
</body>
<script type="text/javascript">
function load()
{
var map = new GMap2(document.getElementById
("map_canvas"));
map.setCenter(new GLatLng(51.0 , 5.0), 4);
var points = [new GLatLng(-29.0,97.0), new GLatLng
(51.0 , 5.0)];
var polyOptions = {geodesic:false};
var polyline = new GPolyline(points, "#0066CC", 3,
0.7,polyOptions);
map.addOverlay(polyline);
}
</script>
</html>
On Jun 9, 11:50 am, "[email protected]" <[email protected]>
wrote:
> On Jun 8, 11:32 pm, Asique <[email protected]> wrote:
>
> > sorry missed some lines while copying
> > it would be very helping to me if u post some example using polylines
> > on IE code on following post is not working if i refresh IE after applying
> > the solution
>
> Maybe you should post your example. I have already posted lots of
> them...
>
> The reason we ask for a link (you can't miss lines while copying, we
> can point you to the errors the validator reports, you don't waste our
> time looking at code that isn't what you are
> using):http://groups.google.com/group/Google-Maps-API/web/why-including-a-li...
>
> -- Larry
>
>
>
> >http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c...
>
> > On Jun 9, 11:10 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Jun 8, 10:41 pm, Asique <[email protected]> wrote:
>
> > > > i have checked many posts on this group about GPolylines and IE 6
> > > > according to all these posts header of page should look like
>
> > > The below code is not valid html. Run it through an html validator.
> > > If IE6 is crashing, then you must be doing something to confuse it...
>
> > > -- Larry
>
> > > > <!DOCTYPE html
> > > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > > >
> > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > <html xmlns="http://www.w3.org/1999/xhtml"
> > > > xmlns:v="urn:schemas-microsoft-com:vml">
>
> > > > according to following documentation link
>
> > > >http://code.google.com/apis/maps/documentation/index.html#XHTML_and_VML
>
> > > > polylines appears on map quite fine but when i refreshes the page IE 6
> > > > totally crashes and windows message appear to send information to
> > > > microsoft
> > > > simp code from one of the examples on this groups is
>
> > > > <!DOCTYPE html
> > > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > > >
> > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > <html xmlns="http://www.w3.org/1999/xhtml"
> > > > xmlns:v="urn:schemas-microsoft-com:vml">
> > > > <head>
> > > > <meta http-equiv="content-type" content="text/html;charset=utf-8"/
>
> > > > <title>Google Maps JavaScript API Example</title>
> > > > <script src="http://maps.google.com/maps?
> > > > file=api&v=2&key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-
> > > > m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA" type="text/javascript"></
> > > > script>
> > > > </head>
> > > > <script type="text/javascript">
> > > > function load()
> > > > {
> > > > var map = new
> > > > GMap2(document.getElementById("map_canvas"));
> > > > map.setCenter(new GLatLng(51.0 , 5.0), 4);
> > > > var points = [new GLatLng(-29.0,97.0), new GLatLng(51.0
> > > > , 5.0)];
> > > > var polyOptions = {geodesic:false};
> > > > var polyline = new GPolyline(points, "#0066CC", 3, 0.7,
> > > > polyOptions);
> > > > map.addOverlay(polyline);
>
> > > > }</script>
>
> > > > <body onload="load()" onunload="GUnload()">
> > > > <div id="map_canvas" style="width: 70%; height: 480px; float:left;
> > > > border: 1px solid black;"></div>
> > > > <div id="route" style="width: 25%; height:480px; float:right;
> > > > border; 1px solid black;"></div>
> > > > <br/>
> > > > </body>
> > > > </html>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---