Open PaulTodd opened 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:
Map.cs
, or Models/Layer.cs
)LeafletInterops.cs
, which serves as the interop 'hub' from the C# sidewwwroot/leafletBlazorInterops.js
, which talks directly to LeafletFor the general concepts, limitations, etc. of JS interop in Blazor, you can learn from sites such as:
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.
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