Skip to content

v2.2.0

Compare
Choose a tag to compare
@jgravois jgravois released this 06 Nov 23:39

Added

  • It is now possible to declare the desired sort order for geosearch results from a featureLayerProvider. the new method operates identically to L.esri.query.orderBy()
var flProvider = L.esri.Geocoding.featureLayerProvider({
  label: 'States',
  url: 'http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3',
  searchFields: ['STATE_NAME']
})

// fieldname + ascending/descending flag
flProvider.orderBy('POP2007', 'ASC')

Fixed

  • mapServiceProvider text search is now slightly fuzzier. #149 thx @nickpeihl!
  • npm start now launches a web server and recompiles the built source when a change is detected on Windows boxes as well. #156 thx @gavinr!
  • Placeholder text is now display immediately when the geosearch control is configured to be expanded on page load. #157