CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

location with latitude and longitude

by rosascarz » 26 Mar 2015 15:10

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 :?:
rosascarz
 
Posts: 7
Joined: 30 Jan 2015 19:01

by Alexander Bulei » 26 Mar 2015 19:07

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQWeather

Who is online

Users browsing this forum: No registered users and 8 guests

Contact Us.