Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Releases: Esri/geoservices-js

2.0.1

30 Oct 21:50
Compare
Choose a tag to compare

Added

The library now includes a browserify build that substitutes xhr to make requests. (#115 thanks @nickpeihl!)

2.0.0

12 May 17:28
Compare
Choose a tag to compare

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.

  1. the response signature of geocode() now provides an array of candidates, not locations
  2. 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]); //
  }
});

1.1.1

04 Feb 20:06
Compare
Choose a tag to compare

Added

  • Support for queryRelatedRecords method to FeatureService

Fixed

  • FeatureService can now be instantiated with/without new.
  • batch geocoding now respects feature identifiers passed via the optionalID parameter or as an OBJECTID attribute.

1.1.0

17 Jun 17:10
Compare
Choose a tag to compare

Changes

  • Geocoder results are now inspected for errors and passed to callbacks appropriately even when the status code of the response is 200
  • geocoding requests now utilize HTTPS

Misc

  • Improvement to inline authentication documentation

1.0.0

17 Jun 17:05
Compare
Choose a tag to compare

Breaking Changes

  • FeatureService calls automatically detect JSON being passed in and no longer require translation to String