Mehigh17 / BlazorLeaflet

BlazorLeaflet is a Blazor component wrapping Leaflet's APIs, offering a simple and homogeneous implementation of the Leaflet maps.
MIT License
188 stars 91 forks source link

List of outstanding features #44

Open PaulTodd opened 4 years ago

PaulTodd commented 4 years ago

I couldn't find a list of the outstanding features/API that needs to be worked on to fully wrap leaflet. I'd like to help, but I really don't know where to start. Could you provide an example of what is involved with wrapping one of the APIs? Or are there any good references to use to learn how to wrap js APIs?

Thanks

chucker commented 4 years ago

[ Disclaimer: I'm not the maintainer. ]

I couldn't find a list of the outstanding features/API that needs to be worked on to fully wrap leaflet.

Leaflet is fairly large (not to mention there's quite a few plug-ins), so I'm not sure "fully" is a realistic goal.

I'd like to help, but I really don't know where to start. Could you provide an example of what is involved with wrapping one of the APIs? Or are there any good references to use to learn how to wrap js APIs?

You can look at some of the existing pull requests.

Most wrappers look roughly like this:

For the general concepts, limitations, etc. of JS interop in Blazor, you can learn from sites such as:

PaulTodd commented 4 years ago

That's true! I doubt Leaflet will ever be fully wrapped, but I'd like to see how far we can go. :) Those look like great resources. Thank you for describing the general process the wrapper goes through. I'll start researching that and see if there's anything valuable I can contribute to this project.