Abdelhameed Hamdy
unread,Jul 21, 2010, 7:21:47 AM7/21/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to UMapper
I've successfully built complex polygons, that is, polygons with
multiple parts. I just add multiple arrays to the polygon points
property, such as:
points:[outer, inner1, inner2, inner3, ...]
Now I need to create a polyline with multiple parts. I've tried the
same format of adding multiple arrays to the polyline points property,
however it doesn't display the polyline, as the PolyLine only reads
the last point from array of points.
A polyline only seems to work if the points property is an array of
LatLng objects such as:
param.points.push(new LatLng(-10,-10));
Does the polyline points property behave differently than the polygon
points property?
Thanks.