You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leafletBlazorInterops.js is not ideal.
Things that should be considered:
Use DRY principle
Is a static C# interop class really the best idea? Shouldn't it be a internal class?
Should the options of the layer be in the layer itself as it is right now? See f.e. ImageLayer C# class. The options (like Opacity or zIndex) are within the ImageLayer class. Maybe it's better to have the .AddLayer method to include a ILayerOptions parameter.
leafletBlazorInterops.js is not ideal.
Things that should be considered:
ImageLayer
C# class. The options (likeOpacity
orzIndex
) are within theImageLayer
class. Maybe it's better to have the.AddLayer
method to include aILayerOptions
parameter.Resources:
https://learn.microsoft.com/de-de/aspnet/core/blazor/javascript-interoperability/?view=aspnetcore-7.0
The text was updated successfully, but these errors were encountered: