Page 1 of 1

location with latitude and longitude

PostPosted: 26 Mar 2015 15:10
by rosascarz
there is a way to bring me the weather sending with the latitude and longitude instead of putting the name of the country and city? for cases where open the web from different parts and automatically change the weather data :?:

Re: location with latitude and longitude

PostPosted: 26 Mar 2015 19:07
by Alexander Bulei
Hi rosascarz,

Use the JQSimpleWeatherOptions.LocationFn property, and return the lat & lon:

delphi code
IWCGJQWeather1.JQSimpleWeatherOptions.LocationFn.Script:= 'function (){ return "46.9062324,-102.78000830000002"; }';


Best Regards.