According to the doc the data attribute may be string or dict but when trying to use a string it won't load.
It will however load when using a geojson object.
There is no marker in the middle of the map. If removing geojson.dumps, however, it works.
I would expect it to work from a string or the geojson object.
According to the doc the data attribute may be string or dict but when trying to use a string it won't load. It will however load when using a geojson object.
Minimal example:
There is no marker in the middle of the map. If removing geojson.dumps, however, it works. I would expect it to work from a string or the geojson object.