- Export missing types
- Better TypeScript inference for
createGeocoder,geocodeandgeodecode
- [Nominatim] Add
shapeandshapeThresholdgeocode and geodecode parameters - [Nominatim] Add
shapein geocoded object
- Add LocationIQ provider
- [Nominatim] Add
countryCodesto provider options - [Nominatim] Add
dedupegeocode parameter - [Nominatim] Replace
typewithtypes(now an array) in geocoded object - [Nominatim] Replace
categorywithcategories(now an array) in geocoded object - [Mapbox] Replace
geocodingModewithsourcein provider options - [Mapbox] Replace
resultTypewithtypesin geocoded object - [Mapbox] Replace
locationTypeswithtypesfor geocode and geodecode - [MapQuest] Replace
openDomainwithsourcein provider options - [GoogleMaps] Replace
locationTypewithprecisionin geocoded object - [GoogleMaps] Replace
resultTypewithtypesin geocoded object - [GoogleMaps] Replace
locationTypeswithprecisionsfor geodecode - [GoogleMaps] Replace
resultTypeswithtypesfor geodecode - [Yandex] Replace
locationTypewithtypes(now an array) in geocoded object - [Yandex] Replace
locationTypeswithtypesfor geodecode
- Module is side-effect free
- Export ES module as well as CommonJS
## 0.10.0
- [Nominatim] Add
subLocalityLevels
- Introduce async / await (or Promise) syntax (providers return a promise if no callback is given)
- [Bing] Better Bing provider
- [Mapbox] Add
fuzzyMatchgeocode parameter - [OpenCage] Add
precisiontoOpenCageGeocoded - [OpenCage] Replace
minConfidencewithminPrecisionfor geocode and geodecode
- [Yandex] Better Yandex provider
- [Nominatim] Remove
viewBoxparameter inGeocodeQueryto useboundsinstead - [GeoJsonDumper] Use
bboxmember forbounds - The
boundsparameter inGeocodeQueryis now an object withlatitudeSW,longitudeSW,latitudeNE,longitudeNEkeys - The
latitudeandlongitudeparameters inGeocodeQueryare replaced by acoordinatesparameter (an object withlatitudeandlongitudekeys) Geocodedreturns an object withlatitudeSW,longitudeSW,latitudeNE,longitudeNEkeys for thebounds- The
latitudeandlongitudeparameters inGeocodedare replaced by acoordinatesparameter (an object withlatitudeandlongitudekeys)
- [MapQuest] Better MapQuest provider
- Add special chain provider
- Add GeoPlugin provider
- Add
errorCallbackparameter togeocodeandgeodecode - Add
bodyparameter toexecuteRequest - [MapQuest] Fix geocode request (bad encoded query)
- [Google] Better Google Maps provider
- [Nominatim] Better handling of geodecode errors
- [ExternalLoader] Add
getOptionsmethod to interface - [ExternalLoader] Rename
JSONPCallbackin params tojsonpCallback - Rename
GoogleAPIProvidertoGoogleMapsProvider - Add Node examples
- Add OpenCage Provider
- Add time zone to
Geocoded - [Mapbox] Add
countryCodes,proximityandreverseModeto geo(de)code parameters - [Mapbox] Add
resultTypetoGeocoded - [Mapbox] Add admin levels to
Geocoded - Rename
ExternalURILoadertoExternalLoader
- [Nominatim] Fix error when no result is received
- Fix TypeScript types for the library to be usable in a TS project
- Use relative paths for build files
- Missing types folder when publishing
- Better Nominatim support
- Better GeoJSON support
- Library rewritten in TypeScript
- Library can be used as a module as well
- Add Mapbox provider
- Formatted address, bounds and country support
- Better handling of provider options (JSONP, SSL)
- The methods
geocodeandgeodecodecan take an object or aQuery