AnsweredAssumed Answered

Using ESRI JSAPI Search dijit with lat/lon coordinates

Question asked by myESRIUName on May 22, 2018
Latest reply on Nov 20, 2018 by rscheitlin

The documentation for this widget suggests the "value" could be "a string, geometry, suggest candidate object, or an array of [latitude,longitude]."


Using it though, if I enter the lat/lon string "45.4215,-75.6972", I am taken to the coast of Antartica. If I enter "-75.6972,45.4215", I am taken to Ottawa, Ontario...which is where I expected "45.4215,-75.6972" to take me.


I get that it is interpreting the values provided as x,y (and if I provided web mercator coordinates, this would be fine) but don't people usually give lat,lon coordinates in that order (that is, y/x)? Should I expect to be able to provide lat,lon?


Am I crazy or should I be contacting ESRI Support about a possible bug here...?