Saturday, November 19, 2011

[Google Maps API v2] How to edit the Gpolyline.Encoded

Hi All,

Could you please let me know how to edit the Encoded Polyline after
line has been drawn in googlemap.

Detail:

1) I've KML file saved in database.

2) Retrieved the KML file and

3) Using the below code drawn the polyline over on the map.
polyline = new GPolyline.fromEncoded({
color: colorString(i),
weight: 4,
opacity: 0.8,
points: pathResults[i][j].encodedPoints,
levels: pathResults[i][j].encodedLevels,
zoomFactor: zoomFactor,
numLevels: numLevels
});
map.addOverlay(polyline);

4) Need to edit the above drawn line in google map.

Thanks in Advance,
Kannan.N

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate