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

Customizing the events and looks of each GeoJson point in <GeoJsonCluster/> #9

Open
ruiping82 opened this issue Apr 28, 2017 · 0 comments

Comments

@ruiping82
Copy link

Hi there,

I'm currently using the GeoJson Component to display my data like this
<GeoJSON ref={g => { this.leafletMapGeoJson = g; }} data={this.geojsonFeature()} style={this.getStyle} pointToLayer={this.pointToLayer} onEachFeature={this.onEachFeature} />

how do I do the same for each point rendered using
It seems I can only pass in the GeoJson as props and nothing else.

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

No branches or pull requests

1 participant