This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
Releases: Esri/geoservices-js
Releases · Esri/geoservices-js
2.0.1
2.0.0
Breaking Changes
Single address geocoding requests to The World Geocoding Service now call /findAddressCandidates
exclusively. This has allowed us to simplify this API by removing the addresses()
method, but necessitated the following changes.
- the response signature of
geocode()
now provides an array of candidates, not locations singleLine
is now the appropriate parameter to use when supplying a single string for geocoding
client.geocode({ singleLine: "voodoo doughnuts" }, function (err, result) {
console.log(result.candidates[0]); //
}
});