I am encountering a similar error, my application works fine for a limited number of lat,lon pairs but when I try to use a larger dataset this error occurs. Any help on this would be greatly appreciated.
Edit: I removed a column containing names and the issue is gone. Maybe it was caused by some special characters in that column. Not a fix, though.
Same issue. In my case the map is working fine on localhost, but it’s returning the SyntaxError on the server. I have other maps working fine, only one is returning this error.
I was having the same issue. The problem was caused by NA values in a string column. I guess pydeck isn’t treating this sort of error. I don’t think it’s anything directly related to streamlit. I’ve seen in stackoverflow that if .to_html() is used in pydeck, this error is suppressed. Haven’t tried that though.
Hope I helped in some way