updated to use esri.geometry for projecting coordinates