smeijer / leaflet-geosearch

A geocoding/address-lookup library supporting various api providers.
https://smeijer.github.io/leaflet-geosearch/
MIT License
1.04k stars 273 forks source link

docs: make code examples consistent with map examples #315

Closed nsilvestri closed 2 years ago

nsilvestri commented 2 years ago

By default, many of the Playground maps use the 'bar' style search control, but the code examples associated with the maps do not specify the style. This ends up rendering a map with a button-style control, which does not match the example maps.

This commit updates the documentation to specify style: 'bar' whenever the associated example map is using a bar.

smeijer commented 2 years ago

Thanks! Appreciated.