Turns any of the shapes PlacesModule.show accepts into one Places collection.
A shown-features handler receives the input of show() as it was given, in any of those shapes.
shown-features
show()
places.events.on('shown-features', (shown) => { if ('places' in shown) renderResultList(toPlaces(shown.places).features);}); Copy
places.events.on('shown-features', (shown) => { if ('places' in shown) renderResultList(toPlaces(shown.places).features);});
Turns any of the shapes PlacesModule.show accepts into one Places collection.