There are a couple of ways to achieve this. 1. using geometry service's union(geometries, callback?, errback?) method. 2. using Polyline's addPath(points or path or pointJson) method.
I'm using the esri google maps extension api...I have a esri.arcgis.gmaps.FeatureSet() (of type esriPolyline) containing an array of features (esri.arcgis.gmaps.Feature()).Is there a simple way to create a single GPolyline from the array of features?or, since feature.geometry is a GPolyline, I guess I am asking is there a simple way to create a single GPolyline by joining/merging multiple GPolylines?FYI - I also asked this question here
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.