0
votes

Mapbox GL JS has a module that lets you insert supplemental data in the form of a geojson to search against.

I have set up my data to work with mapbox and take advantage of this search feature.

However, after i search for one individual park, the geocoder seems to get disabled and wont let me search for another geojson data point. I CAN search for a feature in the geocoder, such as a city, state etc, but the geocoder does not allow for two back to back searched of data in the geojson.

I do not know what to try to fix this

The example can be found on their website, which exhibits the same flaw as i get in my code

https://docs.mapbox.com/mapbox-gl-js/example/forward-geocode-custom-data/

1

1 Answers

1
votes