Skip to content

Using GeoJSON without style #43

Open
@klausschreiber

Description

@klausschreiber

Hi,

it looks like the style attribut is always needed for GeoJSON, also for adding markers.
So for adding markers, you have to do somethin like
layer = GeoJSON(data=markers, style={'fillColor': 'blue'})
map.add_layer(layer)
although fillColor has no effect on markers.
If I only use
layer = GeoJSON(data=markers)
map.add_layer(layer)
it doesn't show the markers on the map. Or did I missed something?

It would be nice, if you could use GeoJSON also without the style attribut.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions