Closed manmorjim closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/carto-frontend/toolkit/6r5ozpmqi ✅ Preview: https://toolkit-git-mmorillo-ch79584popup-error-with-cartodb-id-column.carto-frontend.now.sh
I would filter it in Layer class (methods
_addPopupFields
&&_getStyleField
). At least, my idea was to avoid adding more logic in Source, since we could have to add same logic in other source types
good point, done!
This fixes the error
column reference "cartodb_id" is ambiguous
thrown by Maps API when we add the columncartodb_id
whithin the popups.