Release notes for 200.2

This page provides details about enhancements in the 200.2 release of ArcGIS Maps SDK for Kotlin. It also lists deprecations, resolved issues, known issues, and more.

Enhancements

Scene layers

Filter features in 3D object and point scene layers

Scene layers of type 3D object or point scene layer now support filtering by features and by area. Support includes web scenes published containing scene layers with filtered features. Features can be filtered using one of the following new methods on the ArcGISSceneLayer class:

Filter scene layer with IDs

Features in scene layers can also be filtered spatially using one or more polygon areas. A new class called SceneLayerPolygonFilter defines a filter from a set of polygons and a spatial relationship. The spatial relationship determines whether to show only those features inside the filter area or those outside the specified area. The filter is applied to the ArcGISSceneLayer via a new polygonFilter property.

Filter scene layer with IDs

Support for relative to ground surface placement mode

Scene layers of type 3D object scene layer or point scene layer now support features with a surface placement mode value of Relative (relative to the ground surface). This enhancement adds initial support for a new collection of global 3D scene layers. With this release, the Living Atlas layer OpenStreetMap 3D Buildings (Beta) can now be used in your 3D scenes.

Edge rendering

This release completes support for displaying edges on 3D object scene layers across all Native Maps SDKs and on all platforms.

Real-time

Support for custom feeds

With this release of ArcGIS Maps SDK for Native Apps, you can create a custom DynamicEntityDataSource. This new API allows you to bring data from custom feeds that you manage into a DynamicEntityDataSource as dynamic entities. You can visualize them in your application using a DynamicEntityLayer. The API is flexible, allowing you to manage the connection and process data from any data feed required by your application. Use the custom DynamicEntityDataSource to connect to a variety of feed types from streaming feeds over a socket to data files that are updated over time.

Specify fields when connecting to an ArcGIS stream service

This release includes the ability to specify a subset of fields from an ArcGIS stream service using ArcGISStreamServiceFilter.outFields.

Support for camera controller, viewshed, and line of sight on a dynamic entity observation

In addition to a DynamicEntity, you can now use a DynamicEntityObservation as the input to a GeoElementViewshed, GeoElementLineOfSight, and OrbitGeoElementCameraController.

Performance improvements

Several performance improvements have been made to dynamic entities in this release. DynamicEntityObservation attribute information is now compressed down to 25% of previous sizes, and observational parsing has been increased by up to a factor of four, allowing for higher throughput.

Visualization

Support for clustering of point features

With this release, ArcGIS Maps SDK for Native Apps adds support for feature clustering. Point features in a feature layer can be clustered in a map when displayed using dynamic rendering mode.

Clustering

Feature clustering dynamically aggregates groups of points that are within proximity of each other so they can be represented with a single symbol. The size of the symbol indicates the relative number of points it represents. Clusters are updated as the map scale and extent changes, allowing you to see patterns in the data that may otherwise be difficult to visualize with a large number of overlapping points. You can use ArcGIS Pro or ArcGIS Online to author and publish point feature layers enabled with clustering.

Adding a cluster-enabled feature layer to your Maps SDK app, or opening a web map that contains one, will render clusters if the layer's rendering mode is dynamic. If the rendering mode is set to static, individual features in the layer are drawn using the layer's renderer.

Here are some details about working with clustering in ArcGIS Maps SDK for Native Apps:

  • A layer's renderer is separate from its cluster renderer. If a cluster renderer was not defined when authoring the data, the layer's renderer is used to infer cluster symbology.

  • If the rendering mode is set to static, individual features are drawn using the layer's renderer. This is the same appearance the layer would have if clustering was not enabled.

  • Point features that are not included in a cluster are drawn as individual features using the layer's renderer.

  • Clusters are dynamically updated as the map's scale and extent changes.

  • Identifying a clustered geoelement returns an AggregateGeoElement. The geometry of an aggregate geoelement is the centroid of the cluster graphic and its attributes are the summary fields defined at the time of authoring or publishing the layer.

  • Pop-ups on clusters are separate from the pop-ups defined on a feature layer. When you identify an aggregated geoelement, you can get access to pop-ups defined on the clusters.

  • You can toggle the visibility of clusters. When clusters visibility is turned off, the individual features are drawn.

  • Clustering does not apply to layers with polyline and polygon geometries and is not supported in 3D.

Here are a few known issues with clustering in this release:

  • Clusters do not display labels.

  • Cluster graphics cannot be selected or highlighted.

  • Pop-up expressions that use the $aggregatedFeature variable are not evaluated.

  • If the authored cluster symbology contains size visual variables on a summary field other than cluster_count, the cluster symbols do not display with the correct sizes.

Geometry

Programmatically move, rotate, and scale geometry

The GeometryEngine class introduces new static methods to move, rotate, or scale geometries.

Interactively rotate and scale geometry

The GeometryEditor now displays control graphics when appropriate geometry editor elements are selected. These graphics allow the user to interactively rotate and apply uniform or free-stretch scaling to the selected elements.

Create predefined shapes

The new ShapeTool, for use with the GeometryEditor, allows you to create a predefined shape, such as ellipse, triangle, rectangle, and arrow. These shapes can be represented using polyline or polygon geometry.

Utility network

Utility Network offline tracing enhancements

Offline tracing support was added to the Native SDKs 200.1 release and has been improved in 200.2 with additional bug fixes and tracing support.

  • The ArcGIS Maps SDKs for Native Apps now support tracing of utility networks taken offline from an ArcGIS Enterprise 11.1 feature service.
  • Offline traces now support nearest neighbor trace results and loops tracing.
  • Offline traces have an improved performance when tracing with propagators. These new tracing enhancements are available for all mobile geodatabase types.

SubtypeSublayer feature templates

Custom feature templates can be configured for each FeatureSubtype in a Subtype Group Layer using ArcGIS Pro, and the ArcGIS Native Maps SDKs now provide these templates via the SubtypeSublayer.featureTemplates property.

Arcade

Support for Arcade 1.23

ArcGIS Maps SDKs for Native Apps now support Arcade V1.23. Enhancements include the following:

  • Support for new geometry functions NearestCoordinate and NearestVertex.

  • Support for binary and octal number literals.

  • Updates to Feature and Dictionary functions. These functions now accept more types, easing conversions between features, dictionaries, and geometries.

  • Reduction of preparation time by half when a script is evaluated. This reduction is most significant in multiple evaluations of a small script, for instance a script calculating a value from a few feature attributes.

The newly added GetEnvironment function has limited support: locale and application values always return empty strings.

SDK Enhancements

Real-time

With this release, ArcGIS Maps SDK for Kotlin introduces a new Dynamic Entities API. Use this API to connect to an ArcGIS Stream Service, bring data updates directly into your app, and process them in real time. Once established, a connection to a data stream is maintained and continues to deliver updates until it's closed. Objects created from a stream (known as dynamic entities) can be shown in a new layer, DynamicEntityLayer, that is designed for real-time display. While no other work is required for consuming and displaying data from a stream, the API also exposes notifications that provide more fine-grained control. Handle these events to work directly with data coming from the stream, to get connection status changes, to track updates for a specific dynamic entity, and so on.

Dynamic entity layer

See the new Work with dynamic entities guide topic for more information.

Toolkit

A new toolkit is available with the following composable UI components:

  • Authenticator: Displays a user interface when network and ArcGIS authentication challenges occur.
  • Compass: Shows a compass direction when the map is rotated. Auto-hides when the map points to North.
  • FloorFilter: Allows filtering of floor plan data in a geoview by a site, by a building in the site, or by a floor in the building.

OAuth Application Credential

OAuth Application Credential is now supported. OAuth Application Credential uses the registered application's credentials to access secured services on ArcGIS. It manages ArcGIS authentication and grants a short-lived access token generated via OAuth 2.0 using the application's client ID and client secret outside of the context of a user.

Custom Network Requests

With this release, the SDK's authentication logic can be leveraged to access secured resources and:

  • Make custom network requests through ArcGISHttpClient. For more information, see ArcGISEnvironment.arcGISHttpClient.execute(Request).
  • Download a remote resource to a file through ArcGISHttpClient. For more information, see ArcGISEnvironment.arcGISHttpClient.download().

Network Interception

This release adds support to intercept network requests made by the API for request observation. For more information, see ArcGISEnvironment.configureArcGISHttpClient and Interceptor interface.

Configuration of HTTP Cache

With this release, you can configure the HTTP cache of the ArcGISHttpClient. For more information, see ArcGISEnvironment.configureArcGISHttpClient and ArcGISHttpClient.Cache.

Magnifier and Callout

Magnifier and Callout are now available in the SDK with this release. Additionally, Callout is now supported in 3D.

Breaking API changes

  • Projection Engine compatibility: The internal directory structure of the Projection Engine data files has changed. The new file structure within the Projection Engine data files version 200.2 is supported with ArcGIS Maps SDK for Native Apps version 200.1 or later. If your application deployment includes the Projection Engine data files, you may need to update your build or setup process to reflect this change.

Behavior changes

  • GeometryEditor.symmetricDifference now supports curves.
  • Projection engine (PE) data for geographic transformations are arranged in a different file structure than previous releases. This change is designed to accommodate the increasing number, complexity, and size of the data files. See the readme in the projection engine data download for more information.
  • LabelDefinition.whereClause sql can now include N for literal unicode text.

Deprecations

API deprecations

There are no API deprecations with this release.

OS and framework deprecations

  • Support for Windows 10 Enterprise LTSC Version 1809 (Build 17763) and Windows Server 2019 Standard and Datacenter is deprecated. Version 200.2 is the last release to support these versions. A minimum of Windows 10 Enterprise LTSC Version 21H2 (Build 19044) and Windows Server 2022 Standard and Datacenter will be required at the next release.

Issues resolved

Issues addressed in this release are listed below.

  • BUG-000148628: After tilting scene towards the zenith, it is not possible to tilt it back towards the earth's surface.

  • BUG-000149324 Fixed an issue where pop-ups did not load when certain fields are hidden before publishing.

  • BUG-000152125: Changing the visibility of GroupLayer layers for map image layers does not trigger the layer viewer state change handler on a MapView object.

  • BUG-000155877: The nested feature group layer stored in a mobile map package (.mmpk) shows inconsistent visibility when the group feature layer's toggle button in the layer list is switched on or off.

  • BUG-000157495: Fixed an issue where new attachments may not be submitted for features to a feature service layer when the service contains a second layer without a global ID field.

  • BUG-000158130: Fixed the value reported by the scaleSymbols property of SubtypeFeatureLayer.

  • BUG-000158132: Fixed an issue where cloning a SubtypeFeatureLayer did not retain the scaleSymbols properties of sublayers.

  • BUG-000155955: The second raster image from a mosaic dataset disappears while interacting with the MapView.

  • The 3rd-party Libtiff library has been upgraded to 4.5.1.

  • Fixed a bug where an utility network that is configured with the "only include simple features" option could not be loaded from an ahead-of-time offline map.

  • Fixed a bug that did not preserve the rendering or pop-up configuration for a SubtypeFeatureLayer when taken offline in some scenarios.

  • Improved performance and decreased memory usage when reading mobile map packages, webmaps, and webscenes.

  • Fixed a bug that cleared attributes of a child feature in a simple relationship when its parent feature was deleted.

Known issues

Known issues or limitations for this release are listed below.

  • BUG-000160506: Using GeometryEditor to transform a geometry that has a different spatial reference than that of the associated map view can appear to distort the geometry. A workaround for this bug is to first project the geometry to the spatial reference of the map view and then pass it to the GeometryEditor.

Changes in samples

New samples

Enhancements

  • All new samples added in 200.2.0 use Jetpack Compose.

    • Introduced Jetpack Compose samples using material design 3.
    • Updated the NewModuleScript to create new samples with Jetpack Compose.
    • Added shared Compose components to display dialogs for ArcGIS jobs or error messages to the samples-lib.
  • Updated the project to use a common design scheme for all view-based samples.

  • Added a determinate download progress indicator to the samples-lib.

  • Updated the weather service used in the Add WMS layer sample.

  • Added a patch for Render multilayer symbols sample for unreliable loading behavior.

  • Removed deprecated usages, unused resources, and resolved code style warnings.

  • Updated the project to use JVM 1.17.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.