mapbox / mapbox-gl-geocoder

Geocoder control for mapbox-gl-js using Mapbox Geocoding API
https://mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/
ISC License
357 stars 181 forks source link

Geocoding mapbox.places #491

Open team1project opened 1 year ago

team1project commented 1 year ago

It's not working with this get API url? I have put access token as well, but still getting feature [] empty. https://api.mapbox.com/geocoding/v5/mapbox.places/159.196.60.190.json?types=region&access_token=

Any idea, why it's not working or this is not even exist on mapbox?

danielfriskey commented 6 months ago

When I put my key in with this query, I receive:

{"type":"FeatureCollection","query":["15919660190"],"features":[],"attribution":"NOTICE: © 2024 Mapbox and its suppliers. All rights reserved. Use of this data is subject to the Mapbox Terms of Service (https://www.mapbox.com/about/maps/). This response and the information it contains may not be retained. POI(s) provided by Foursquare."}

Is your key correct?