dirn1.loadFromWaypoints([p11.toUrlValue(6),p11.toUrlValue(6)],{getPolyline:true});
dirn2.loadFromWaypoints([p22.toUrlValue(6),p22.toUrlValue(6)],{getPolyline:true});
But whenever I load the page, it stops before "dirn1..."
And loads ultimately, when I add alert statements as :
alert("0a");
dirn1.loadFromWaypoints([p11.toUrlValue(6),p11.toUrlValue(6)],{getPolyline:true});
alert("0b");
dirn2.loadFromWaypoints([p22.toUrlValue(6),p22.toUrlValue(6)],{getPolyline:true});
alert("oc");
var p1 = dirn1.getPolyline().getVertex(0);
alert("0d");
var p2 = dirn2.getPolyline().getVertex(0);
Could it be a problem that I am using deprecated API (google map api
v2)? If not what is the possible solution to load the page smoothly
without using alert statements?
-vishal garg
-vishal garg
> --
> 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 google-map...@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
Let me know incase there is any problem in accessing.
Problem - the javascript stops in the middle when the page is being loaded.
-vishal garg