MapImageLayer - supports loading from MapService on ArcGIS portals
Sublayer - specify or inspect the layers in a MapImageLayer or TileLayer
SliderWidget - control any data with a custom slider
PictureFillSymbol- display custom icons for polygon fill
Locator - tool for geolocating or reverse geolocating addresses
MapView.QueryResultsMaxSizeLimit - controls the limit on streaming graphic results from HitTest or layer queries
BasemapLayerListWidget new properties
BasemapTitle
EditingEnabled
HeadingLevel
MultipleSelectionEnabled
VisibleElements
Basemap.Style - accesses newer version of ArcGIS and OpenStreetMap basemaps via a BasemapStyle enum
ArcGISDefaultBasemap marked as Obsolete, suggested to use Basemap.Style instead
Dimension- custom screen measurement class which can be constructed with either a string or a double value, and supports px and pt in the string constructor
GeometryEngine new methods
GetExtentCenter - returns the center point of an Extent
GetExtentHeight - returns the height of an Extent in map units
GetExtentWidth - returns the width of an Extent in map units
Breaking Changes
The order of Layers added to the map in Razor markup has been inverted. Now, the topmost layer in Razor markup will be on top in the map view. For multi-layered scenarios, you will likely need to reverse the order in your Razor code.
Converted numerous properties/parameters from HashSet to List or IReadOnlyList to maintain order of items correctly.
HitTestResult.GraphicHit now returns a GeoBlazor LayerId rather than a full Layer object
Screen-size measurements now take a custom Dimension object
Label.RepeatLabelDistance
MapFont.Size
LineSymbol.Width
MarkerSymbol.XOffset and MarkerSymbol.YOffset
SimpleMarkerSymbol.Size
TextSymbol.HaloSize, TextSymbol.LineWidth, TextSymbol.XOffset, and TextSymbol.YOffset
SimpleMarkerSymbol.Style removed, use MarkerStyle instead
AttributesDictionary values are now object? instead of object, and constructor dictionaries must be Dictionary<string, object?>
Obsolete methods and properties were removed
MapView.OnMapRendered - use OnViewRendered
Widget.IconClass (all widgets) - use Icon
ExpandWidget.ExpandIconClass - use ExpandIcon
LocateWidget.UseHeadingEnabled - use RotateEnabled
ArealUnit - use GeometryEngineAreaUnit
GeometryEngine.GeodesicArea with ArealUnit - use GeodesicArea with GeometryEngineAreaUnit
GeometryEngine.PlanarArea with ArealUnit - use PlanarArea with GeometryEngineAreaUnit
LogicComponent.OnJavascriptErrorHandler - calls to logic component methods will now throw exceptions just like any other .NET code
AttributesDictionary implicit conversion from Dictionary<string, object> - use the explicit conversion or constructor instead
Namespace change for ListItem
Performance Improvements
Queries now return protobuf-serialized graphics in a stream
New Features
MapImageLayer
- supports loading fromMapService
on ArcGIS portalsSublayer
- specify or inspect the layers in aMapImageLayer
orTileLayer
SliderWidget
- control any data with a custom sliderPictureFillSymbol
- display custom icons for polygon fillLocator
- tool for geolocating or reverse geolocating addressesMapView.QueryResultsMaxSizeLimit
- controls the limit on streaming graphic results fromHitTest
or layer queriesBasemapLayerListWidget
new propertiesBasemapTitle
EditingEnabled
HeadingLevel
MultipleSelectionEnabled
VisibleElements
Basemap.Style
- accesses newer version of ArcGIS and OpenStreetMap basemaps via aBasemapStyle
enumArcGISDefaultBasemap
marked asObsolete
, suggested to useBasemap.Style
insteadDimension
- custom screen measurement class which can be constructed with either astring
or adouble
value, and supportspx
andpt
in the string constructorGeometryEngine
new methodsGetExtentCenter
- returns the center point of anExtent
GetExtentHeight
- returns the height of anExtent
in map unitsGetExtentWidth
- returns the width of anExtent
in map unitsBreaking Changes
Layers
added to the map in Razor markup has been inverted. Now, the topmost layer in Razor markup will be on top in the map view. For multi-layered scenarios, you will likely need to reverse the order in your Razor code.HashSet
toList
orIReadOnlyList
to maintain order of items correctly.HitTestResult.GraphicHit
now returns a GeoBlazorLayerId
rather than a fullLayer
objectDimension
objectLabel.RepeatLabelDistance
MapFont.Size
LineSymbol.Width
MarkerSymbol.XOffset
andMarkerSymbol.YOffset
SimpleMarkerSymbol.Size
TextSymbol.HaloSize
,TextSymbol.LineWidth
,TextSymbol.XOffset
, andTextSymbol.YOffset
SimpleMarkerSymbol.Style
removed, useMarkerStyle
insteadAttributesDictionary
values are nowobject?
instead ofobject
, and constructor dictionaries must beDictionary<string, object?>
Obsolete
methods and properties were removedMapView.OnMapRendered
- useOnViewRendered
Widget.IconClass
(all widgets) - useIcon
ExpandWidget.ExpandIconClass
- useExpandIcon
LocateWidget.UseHeadingEnabled
- useRotateEnabled
ArealUnit
- useGeometryEngineAreaUnit
GeometryEngine.GeodesicArea
withArealUnit
- useGeodesicArea
withGeometryEngineAreaUnit
GeometryEngine.PlanarArea
withArealUnit
- usePlanarArea
withGeometryEngineAreaUnit
LogicComponent.OnJavascriptErrorHandler
- calls to logic component methods will now throw exceptions just like any other .NET codeAttributesDictionary
implicit conversion fromDictionary<string, object>
- use the explicit conversion or constructor insteadListItem
Performance Improvements
FeatureLayer.QueryFeatures
FeatureLayer.QueryRelatedFeatures
,FeatureLayer.QueryTopFeatures
FeatureLayerView.QueryFeatures
MapView.HitTest