Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoJsonDataLayer: support for PointToLayer methods that customize the markers #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chucker
Copy link
Contributor

@chucker chucker commented Jun 11, 2020

Leaflet lets you set a pointToLayer method that will be called for every point.

This PR adds basic support to customize the marker that gets created, and also adds a sample in the docs. We could later on expand this for other layer types.

@chucker
Copy link
Contributor Author

chucker commented Jun 11, 2020

Hmm, those first two commits don't belong there. Can I retroactively fix this?

(edit) fixed

@chucker chucker force-pushed the features/geojson-custom-markers branch from feb67c1 to b0e9711 Compare July 15, 2020 18:21
@chucker
Copy link
Contributor Author

chucker commented Jul 15, 2020

I think this is now ready to be reviewed.

One thing I'm not happy with is the Properties dict. It'd be nicer if those were strongly-typed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant