React-leaflet: Missing GeoJSON examples

Created on 24 Jul 2019  路  3Comments  路  Source: PaulLeCam/react-leaflet

There don't appear to be any examples for GeoJSON. The following would be extremely helpful:

  • An example of how to use custom icons with GeoJSON
  • An example of how to use Popups with GeoJSON

The first, I haven't been able to find any documentation or examples for anywhere.
The second, there seem to be a couple of issues in this repo with incomplete examples, but it isn't clear how to define the contents of the Popup

Most helpful comment

I happen to have a working example for the second one.

I鈥檝e never contributed to an open source project before , hopefully this could be a good start!

All 3 comments

I happen to have a working example for the second one.

I鈥檝e never contributed to an open source project before , hopefully this could be a good start!

@hackleman, can you post your examples? I am dealing with the same thing now, it would surely be beneficial to have something to look at.

It's all provided in the leaflet js website.

I don't think this is an actual issue with the repository and this ticket should be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diligiant picture diligiant  路  3Comments

Shadowman4205 picture Shadowman4205  路  4Comments

chokn picture chokn  路  4Comments

samankhademi picture samankhademi  路  3Comments

acpower7 picture acpower7  路  4Comments