remove ajax for json requests
This commit is contained in:
parent
90ff0228c5
commit
5a766a809d
3 changed files with 20 additions and 6 deletions
|
|
@ -180,7 +180,11 @@ const index = (() => {
|
|||
doRedirectToGeometry(overrides[suggestion.value]);
|
||||
} else {
|
||||
request = $.ajax({
|
||||
<<<<<<< Updated upstream
|
||||
url: 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find',
|
||||
=======
|
||||
url: location.protocol + 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find',
|
||||
>>>>>>> Stashed changes
|
||||
data: {
|
||||
text: suggestion.value,
|
||||
magicKey: suggestion.data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue