lolochristen / OpenLayers.Blazor

An Map component for Blazor based on OpenLayers with support for swisstopo swiss maps.
MIT License
42 stars 15 forks source link

Update openlayers_interop.js to fix checking for ScaleLineUnit None #75

Closed Horndev closed 2 months ago

Horndev commented 2 months ago

If "None" is passed as a unit, OL fails with invalid unit error. This fix correctly checks if user disables the scale line.

Horndev commented 2 months ago

This will fix #74

lolochristen commented 2 months ago

thanks!