maplibre / maplibre-gl-geocoder

Geocoding for MapLibre
ISC License
53 stars 18 forks source link

options.popup defaults to "false", but documented as "true" #21

Closed slaymance closed 3 weeks ago

slaymance commented 2 years ago

The options.popup parameter to MaplibreGeocoder is defaulted to false while the JSDoc definition and reference in API.md specify the default value of options.popup as true.

We can resolve this by either:

Updating reference to the default value has the benefit of not impacting users' applications if they upgrade to the version which contains the fix.

HarelM commented 4 weeks ago

I think updating the docs is the right approach at this point, feel free to submit a PR.

HarelM commented 3 weeks ago

Should be fixed by #118 You can check out the new docs at https://www.maplibre.org/maplibre-gl-geocoder/