I am sorry about asking, i am not a programmer maybe i ask very basic
things, Excuse me.
I arranged my code ,  now this code is working good.6 CORNER points
formed a polygon.
if my parcel has 10 corner points or n points, i must put this code in
a loop , for next , or do while loop ,
how can i write this loop. THANKS

var point=[];
var poly=[];
var line;
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>
point.push(new GLatLng(<%=Recordset3.Fields.Item("X").Value%>,<
%=Recordset3.Fields.Item("Y").Value%>));
<%=Recordset3.MoveNext%>



--~--~---------~--~----~------------~-------~--~----~
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