- ensured that options from Geosearch constructor are mixed in correctly.
- implemented a new 'countries' parameter for the
arcgisOnlineProvider
based on new capabilities of the World Geocoding Service #38 - implemented a new 'categories' parameter for the
arcgisOnlineProvider
based on new capabilities of the World Geocoding Service - added the ability to include 'categories' in requests using
L.esri.Geocoding.suggest
- updated result objects across providers to include the actual GeoJSON of candidates #81
- included additional logic to ensure that queries are case insensitive #83 (thanks @rntdrts)
- refactored the calculation of result bounds calculation to avoid uncaught exceptions and usage of
new
#84
- Missing files in NPM release.
- Missing sourcemap in build.
- Requires the 2.0.0-beta.4 release of Esri Leaflet.
- Require the 1.0.0-beta.1 release of Leaflet.
- Namespaces have changed all exports now sit directly under the
L.esri.Geocoding
namespace. This mean that things likeL.esri.Geocoding.Controls.Geosearch.Providers.FeatureLayer
can now be accessed likeL.esri.Geocoding.FeatureLayerProvider
. useArcgisWorldGeocoder
has been removed. Now you must passL.esri.Geocoding.arcGisOnlineProvider()
in theproviders
array. This will facilitate easily passing options to the ArcGIS Online geocoder.
- Better build/test/release automation.
- Support for JSPM in package.json. Now you can
import geocode from 'esri-leaflet-geocoder/src/Tasks/Geocoder';
for more compact builds but, be aware of caveats - Support for browserify in the package.json. Now you can
var geocode = require('esri-leaflet-geocoder/src/Tasks/Geocoder');
for more compact builds, but be aware of caveats
- Fix bug in Suggest logic affecting older versions of ArcGIS Server (#77)
- Fix incorrect version number in built files.
This represents the stable release of Esri Leaflet Geocoder compatible with Leaflet 0.7.3. All future 1.0.X releases will be compatible with Leaflet 0.7.3 and contain only bug fixes. New features will only be added in Esri Leaflet Geocoder 2.0.0 which will require Leaflet 1.0.0.
- Introduced support for dynamic suggestions from custom geocoding services. #65
- Refactored code to account for changes introduced in Esri Leaflet
1.0.0
. #75 - Fixed problem in
initialize
#63 (thanks @timwis!) - Plugin now dynamically sets a hard search extent when
useMapBounds
is set to true. #58
- Providers should now supply their
url
with theurl
key inside ofoptions
as opposed to a separate parameter. - Namespace has been reorganized. everything now sits under
L.esri.Geocoding
. SoL.esri.Tasks.Geocode
is nowL.esri.Geocoding.Tasks.Geocode
.
MapService
provider now supports being passed an array of layers to search. Esri#48title
option will now set the title on the input to'Location Search'
by default. Esri#51- When using many providers or when a provider returns lots of results with a high limit, the suggestions div will now scroll. Esri#55
within()
andnearby()
now return the task and can be changed. Esri#49- Bugfix for
MapService
provider Esri#46
- Bower support
bower install esri-leaflet-geocoder
- Update Esri Leaflet dependency to RC 3
Please read through the docs and changes list carefully. There has been a major refactoring.
** Breaking Changes **
- Namespacing has changed. All methods and classes are now under
L.esri.Geocoding
.L.esri.Geocoding
organizes everything intoControls
,Services
, andTasks
. GeocodeService
has been rewritten from scratch to mirror the Esri Leaflet service style that returns tasks.GeocodeService.suggest
,GeocodeService.geocode
andGeocodeService.reverse
all return their respective tasks.
** Changes **
- New tasks for
Suggest
,Geocode
andReverseGeocode
that mirror the Esri Leaflet task structure. L.esri.Geocoding.Controls.Geosearch
can now search multiple providers.- Available on NPM and Bower
- Wrapped as a CommonJS module
- Wrapped as an AMD module
- Basic unit tests
- TravisCI support
- Source maps for compressed builds
Changes
- Improve experience for users when they hit enter with no suggestion selected. The current test in the input will be geocoded and the map centered on the extent of all results. This behavior can be disabled by setting
allowMultipleResults
tofalse
. - Fix behavior of
useMapBounds
which was incorrect. - Don't pass
bbox
with suggest. The suggest API doesn't use it. - Increase
useMapBounds
default to12
.
Breaking Changes
- Esri Leaflet Geocoder now relies on the Esri Leaflet Core build, find out more on the Esri Leaflet downloads page.
- The callback signatures on
L.esri.Services.Geocoding
. The raw response is now the 3rd parameter and the second parameter is now a processed array of Geocode Results or aReverse Geocode Results depending on the call. L.esri.Services.Geocoding
no longer accepts theoutFields
parameter.
Changes
- Fix a display issues where the form would close but would not expand again. Esri#33
- Now that
L.esri.Services.Geocoder
extends onL.esri.Services.Service
you can pass theforStorage
flag with any call and authenticate. Listen for theauthenticationrequired
event and provide a token or pass atoken
option.
- Fix style to accommodate
topright
position - Fix some leaflet-touch style issues
- Fix bug in IE 10 and 11 on Windows 8 touch devices
This is now ready for beta! This release helps finalize the API and includes lots of cross browser support.
Breaking Changes
result
andresults
events have been refactored into a singleresults
event with and array of results.
Changes
- When the user hits enter without a suggestion selected their current text is geocoded within the current map bounds.
- Esri attribution added
error
event added
- Add the
allowMultipleResults
option. Esri#6
- Initial alpha release