It looks like the place search feature essentially redirects the browser to the right ECOS URL, which in turn inputs a new location into the Salesforce API. I'm seeing this happen here in our code:
The following are screenshots from Enzigma showing how ECOS interacts with the Placesearch feature found in GeoForce.
When looking around in ECOS, however, we've got much more info about a location, such as the applicable administrative levels something is in, etc.
We probably will have to send other information from the place search feature to properly describe a new custom POI location.
A Project Location
Because the GET request via a browser window.location redirect doesn't send that much information, ECOS does indeed query GeoForce for more data. We will update this issue with the specific endpoints.
This code is done within the ECOS developer console.
The logic is within the LocationController.
The global settings contain a "GIS URL", which is the hostname of GeoForce.
It looks like the place search feature essentially redirects the browser to the right ECOS URL, which in turn inputs a new location into the Salesforce API. I'm seeing this happen here in our code:
https://github.com/AmericanRedCross/GeoForce/blob/33bf1e5add505ba1d61f0e8b07c3a0076a6b1f6e/Chubbs/public/placesearch/search.html#L543
We provide two possible sets of query params:
https://geo.redcross.org/placesearch/search.html
The following are screenshots from Enzigma showing how ECOS interacts with the Placesearch feature found in GeoForce.
When looking around in ECOS, however, we've got much more info about a location, such as the applicable administrative levels something is in, etc.
We probably will have to send other information from the place search feature to properly describe a new custom POI location.
A Project Location
Because the GET request via a browser
window.location
redirect doesn't send that much information, ECOS does indeed query GeoForce for more data. We will update this issue with the specific endpoints.This code is done within the ECOS developer console.
The logic is within the LocationController.
The global settings contain a "GIS URL", which is the hostname of GeoForce.