Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 399 Bytes

File metadata and controls

6 lines (5 loc) · 399 Bytes

Google encoded polyline to ArcGIS graphic converter

Converts encoded google polyline to arcgis js graphic to be added in an arcgis JS project.

Instructions

Add this code as a file in your project and call decodePoly_toGraphic which will return a line graphic for you. The parameters to pass into decodePoly_toGraphic are the google encoded string, and a symbol for the returned line graphic.