Skip to content

v4.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Dec 16:01
· 104 commits to develop since this release

GeoBlazor Core v4.4.0 Release

While there are breaking changes in 4.4.0, every effort was made to keep the impact on high-use features as low as possible.

Breaking Changes

Namespace Changes

  • GeoLocationOptions moved from dymaptic.GeoBlazor.Core.Components to dymaptic.GeoBlazor.Core.Options
  • InitialViewProperties, WebsceneApplicationProperties, and WebsceneInitialViewProperties moved from dymaptic.GeoBlazor.Core.Components to dymaptic.GeoBlazor.Core.Model

Removed Classes

These classes were not being referenced/implemented and will return in Core or Pro when fully implemented.

  • Weather - multiple related classes
  • Lighting - multiple related classes
  • SpriteSource - multiple related classes
  • Slide - multiple related classes
  • Numerous internal-use interfaces
  • DateTimePickerInput, Environment, Presentation, ServiceEdits, Shading

Removed Members (Properties/Methods)

  • SetObjectIdField on FeatureLayer, CSVLayer, WFSLayer: cannot be set on layers after they are loaded.
  • SetGeometryType on CSVLayer, WFSLayer: cannot be set on layers after they are loaded.
  • SetHighlightOptions and GetHighlightOptions on CSVLayerView, FeatureLayerView, GraphicsLayerView, ImageryLayerView, and WFSLayerView: HighlightOptions is being deprecated in favor of MapView.Highlights.
  • SetView and GetView on ExpandViewModel: cannot be set after initial load.

Changed Signatures

  • LocationService.AddressesToLocations: multiple signatures were re-organized; should still have all overload options available
  • MapView.OnJavascriptError: return type changed from void to Task
  • Type of ElevationInfo property on CSVLayer, FeatureLayer, GraphicsLayer, and WFSLayer consolidated to type of ElevationInfo rather than individual types
  • Incorrect type fixes: (object types do not deserialize correctly)
    • DynamicMapLayer.MapLayerId - changed from int to long? to support longer IDs and null
    • TemporalDomain.Units and ValidateServiceEdits.EditedFeatures - changed from object? to string?
    • WMSLayer.Dimensions and WMSSublayer.Dimensions - changed from IReadOnlyList<object>? to IReadOnlyList<IWMSLayerDimension>?
  • Renamed/Changed types:
    • LegendViewModel.LayerInfos - renamed from IReadOnlyList<LegendViewModelLayerInfos>? to IReadOnlyList<LegendViewModelLayerInfo>?
    • ImageryTileLayer.Interpolation - renamed from Interpolation? to PixelInterpolation?
    • WebSceneUpdateFromOptions.ThumbnailSize - renamed from WebSceneUpdateFromOptionsThumbnailSize? to WebSceneThumbnailSize?
    • Webscene.Presentation - changed from Presentation? to IPresentation?
  • Records changed to Immutable/Readonly Properties: GeographicTransformationStep, WebMapSaveAsOptions, WebMapSaveOptions, WebMapUpdateFromOptions, WebsceneApplicationProperties, WebsceneInitialViewProperties

New Features

  • BookmarksViewModel has two new event handlers: OnBookmarkEdit and OnBookmarkSelect
  • ElevationInfo - new combined type for all layers with elevation data
    • FeatureExpressionInfo - property of ElevationInfo
  • LegendViewModelLayerInfo - two new properties: IReadOnlyList<long>? SublayerIds and string? Title
  • OnExceptionHandler method on MapView and AuthenticationManager - new parameter function to handle runtime exceptions. Return true to indicate the exception was handled, or false to re-throw.
  • AuthenticationManager.OnExceptionHandler - new parameter to handle JavaScript errors during authentication initialization.
  • OverlayPosition enum - new values for RTL (right-to-left) language support: TopLeading, TopTrailing, BottomLeading, BottomTrailing
  • ViewModelChanged method on AreaMeasurement2DWidget and DistanceMeasurement2DWidget - new EventCallback for ViewModel property changes

Bug Fixes

  • Fixed SearchWidget event results not returning correctly
  • Fixed FeatureLayer.ApplyEdits not throwing exceptions on failure
  • Fixed registration of ArcGIS-loaded objects like Sublayer

Full release notes: https://docs.geoblazor.com/pages/coreReleaseNotes.html

What's Changed

Full Changelog: v4.3.0...v4.4.0