AnsweredAssumed Answered

get weather information

Question asked by faryalshah on Jul 4, 2017
Latest reply on May 1, 2018 by epuriarun

i wanted to display weather information of the current map location. i have got current map location by using following code 

var x = map.extent.getCenter().getLatitude();
var y = map.extent.getCenter().getLongitude();

document.getElementById("txtx").value = x;
document.getElementById("txty").value = y;

 

but now i am stuck to how to get weather information. 

Outcomes