I would like to set a (lon, lat) info as a default query in basic Search Widget through JS.
Here is a thread that answers that:
GeoForm- Geolocate a Field
Thank you for this useful thread. I am trying to use the code available here. I need to run sql query within java script. Any help.
In more detail
I need to access a database through sql-query and get longitude and latitude of a certain location. That (lon, lat) info will go to the search widget via java script.
for the future.... your guide to GeoNet GeoNet Community Structure
Retrieving data ...