times_square_marker and json.loads(times_square_marker.options)['radius'] # 6
appears to be missing a 'str' —— if I was supposed to notice and correct this, that was not clear and I don't believe I've learned the necessary folium syntax to identify that. More likely it seems an error, and should instead be:
times_square_marker and json.loads(str(times_square_marker.options['radius'])) # 6
In the section under "def to marker(location)" --
times_square_marker and json.loads(times_square_marker.options)['radius'] # 6
appears to be missing a 'str' —— if I was supposed to notice and correct this, that was not clear and I don't believe I've learned the necessary folium syntax to identify that. More likely it seems an error, and should instead be:
times_square_marker and json.loads(str(times_square_marker.options['radius'])) # 6
But if I am wrong I would love to know and why…