AnsweredAssumed Answered

Service Area Polygon Geometry

Question asked by alberto.canivano on Mar 23, 2017
Latest reply on Mar 23, 2017 by alberto.canivano

Hi everyone

I  need to get a service area polygon (graphics) for inserting it into a query as geometry. 

This is a piece of code (a serviceAreaTask)

var polygonSymbol = new SimpleFillSymbol(
new SimpleLineSymbol("solid", new Color([232,104,80]), 2),
new Color([232,104,80,0.25])
arrayUtils.forEach(solveResult.serviceAreaPolygons, function(serviceArea){


According to API ServiceAreaSolveResult | API Reference | ArcGIS API for JavaScript 3.20 

ServiceAreaPolygon is already a graphic, and I can use its geometry in my query

but, I don´t know how I can get this geometry.

Thanks a lot!