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
I find myself reluctant to adopt LeafletForBlazor without being able to see the code behind RealTimeMap and the javascript wrappers, etc, because when I inevitably run in to an issue it will be hard to work around. For example, the DisplayPolygonsFromArray.add() function is quite slow when drawing all counties as polygons (using 10m data from NED), and I'd like to work out if there's a way to speed it up, perhaps, for example, by temporarily disabling realtime rendering of the map while my C# loop runs to add the various polygons and labels.
The text was updated successfully, but these errors were encountered:
In the LeafletForBlazor documentation I pointed out that the DisplayPolygonsFromArray class is recommended to be used to highlight the items of the map, It is not optimal to use this class when rendering a large set of polygons.
For large datasets, you can use the DataFromGeoJSON class:
OK, thanks. I would say it's quite confusing to use the DataFromGeoJSON class at present. It would be nice if the type hierarchy described in the example RTM GeoJSON data object/RTM GeoJSON data object/Pages/Home.razor were part of the NuGet package and commented, so we have a well defined structure to pass, as it differs quite substantially from the Leaflet Hierarchy described at https://leafletjs.com/reference.html
Do the types in RTM GeoJSON data object/RTM GeoJSON data object/Pages/Home.razor describe all of the currently supported properties we can set?
I find myself reluctant to adopt LeafletForBlazor without being able to see the code behind RealTimeMap and the javascript wrappers, etc, because when I inevitably run in to an issue it will be hard to work around. For example, the DisplayPolygonsFromArray.add() function is quite slow when drawing all counties as polygons (using 10m data from NED), and I'd like to work out if there's a way to speed it up, perhaps, for example, by temporarily disabling realtime rendering of the map while my C# loop runs to add the various polygons and labels.
The text was updated successfully, but these errors were encountered: