AnsweredAssumed Answered

4.9: Specify the spatial reference of a new Point?

Question asked by shakiltmbc on Dec 7, 2018
Latest reply on Dec 7, 2018 by rscheitlin
      var stopGeometry = new Point({


My map is of wkid 27700. I'm using RouteTasks and have a point of wkid 27700 I need the directions from. I have an x and y target value so I'm making a new Point like above. The problem is this Point has a wkid of 4326. How can I change this to 27700? I tried stopGeometry.spatialReference.wkid = 27700; but that doesn't work. The API reference for Point doesn't mention being able to change the spatial reference wkid.