AnsweredAssumed Answered

CenterAt not working

Question asked by timmccurdy on Oct 25, 2012
Latest reply on Oct 29, 2012 by timmccurdy
Hello all,

I signed up to ask this question: Does CenterAt work? And if so, what am I doing wrong?

I've created a simple function to move to some coordinates:

 this.goto = function () {     var coordinates = prompt("Enter coordinates: ", "502982,221818").split(",");     if (coordinates.length != 2) {        return;     }     var point = new esri.geometry.Point({ "x": coordinates[0], "y": coordinates[1], " spatialReference": { " wkid": 27700} });;;  }

However, only the setLevel seems to happen. I am never centered to the new results.

Any help would be appreciated!