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
The goal is to use MVT tile generated by ST_AsMVT function on postgis 2.4 and 2.5.
Because feature id is not provided mapbox-gl throw this error : Error: The feature id parameter must be provided.
Today the solution i found is to make this modification directly on sources and rebuild mapboxgl :
We can't really do that because Vector Tile Spec v2 does not support string ids, while property values can be strings. However, Mapbox GL JS v1.7.0 has a feature that makes this unnecessary — promoteId, see mapbox/mapbox-gl-js#8987
The goal is to use MVT tile generated by
ST_AsMVT
function on postgis 2.4 and 2.5.Because feature id is not provided mapbox-gl throw this error :
Error: The feature id parameter must be provided.
Today the solution i found is to make this modification directly on sources and rebuild mapboxgl :
I think this modification can be useful to some people that can't update postgis to 3.0 version.
The text was updated successfully, but these errors were encountered: