You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get that mapbox id from the rendered features in the map? When I register a tap listener and call queryRenderedFeatures I'm getting such data (no mapbox id there):
{id: 224626671, type: Feature, properties: {name: Ortega Park, name_script: Latin, maki: park, filterrank: 3, class: park_like, category_zh-Hans: 公园, iso_3166_2: US-CA, type: Park, iso_3166_1: US, category_en: Park, sizerank: 14}, geometry: {type: Point, coordinates: [-122.02557027339935, 37.3421550755933]}}
How can I display a full set of data after clicking on a POI on the map?
My initial assumption was that I can query the rendered feature, obtain an ID and use that ID for retrieving more info on the feature (like opening hours etc.).
The text was updated successfully, but these errors were encountered:
The suggest endpoint returns mapbox id attribute of a feature that can be later used to fetch more data via retrieve endpoint.
Is it possible to get that mapbox id from the rendered features in the map? When I register a tap listener and call
queryRenderedFeatures
I'm getting such data (no mapbox id there):How can I display a full set of data after clicking on a POI on the map?
My initial assumption was that I can query the rendered feature, obtain an ID and use that ID for retrieving more info on the feature (like opening hours etc.).
The text was updated successfully, but these errors were encountered: