Release Notes 4.9
What’s New
This release contains a number of new features and updates to the base technology.
OGC API Features
This version introduces a new layer for using OGC API-Features . This new standard is the completely modernized successor of the OGC Web Feature Service (WFS) specification.
Parameterized URL in address bar of browser
The parameterized URL with which the state of an app (such as activated base maps and layers or the displayed map extent) can be shared can now be permanently displayed and updated in the address bar of the browser.
To activate this function, add the bundle parameter-url
to your app.
Popup improvements
This release introduces the following improvements to popups:
-
Popups can be defined for search topics (stores) independently of layers. This allows popups to be displayed for a search service that is not displayed on the map (for example search for address points).
-
Popups can be opened automatically after a search. This also applies to searches that were executed using a parameterized call.
-
The display of actions and other elements can be better configured.
-
The default popup can now also be used for imagery layers.
Base maps in the map content control (TOC)
The map content control can now also control the base maps available in the app. This provides users a central interface to control all displayed maps in desktop environments as well as on mobile devices.
Editing
Dialog for attribute editing
The dialog for editing the attributes of a map object can now be adjusted via configuration. Using so-called FormTemplates, the attributes that are to be displayed for editing can be specified. In addition, attributes can be grouped together and provided with customized headings, descriptions and labels.
Tool rules for map states
Tool Rules can be used to activate or provide tools depending on the current map scale or activated map layers. For example, a tool can only be offered for editing if a corresponding layer is activated.
Further new functions and improvements
-
The ArcGIS API for JavaScript used by map.apps as technical basis is updated to version 4.16 with this release. This leads to numerous improvements and bug fixes in the base technology. For example, the performance when displaying feature layers or web scenes is significantly improved.
-
A legend can now also be displayed for base maps.
-
The default positions of tooltips can now be defined for complete tool sets. The app configuration can thus be made shorter and clearer, as it is not necessary to define the position for each tool individually.
-
GeoRSS feeds can now be integrated as map layers.
-
The new layer type ImageryTileLayer can be used to project and process raster data on the client side.
-
Two new tools are available to switch to previous and next map sections.
-
Mouse wheel or touch gesture map control can be disabled to improve the user experience in embedded apps.
-
Apps registered in Portal for ArcGIS can only be accessed by users who are granted access to the corresponding element in Portal for ArcGIS
-
The layouts and formats available for printing can be configured.
-
The configuration of CORS filters is more efficient by using placeholders.
A complete list of all changes can be found in Changelog.
Update Notes
JavaScript import/export
vs. AMD define
In the course of modernizing the map.apps API, the keyword export
defined in the ECMAScript 6 standard (ES6) is increasingly used.
This requires a change when using the AMD import style define
.
Use the new ES6 import syntax to avoid incompatibilities.
The following sections show the change using the example of string-replace
:
define(["apprt-core/string-replace"], function(stringReplace){
var msg = stringReplace('Hello ${key}', { key : "World"});
});
import stringReplace from "apprt-core/string-replace"
const msg = stringReplace('Hello ${key}', { key : "World"});
Code that is in AMD format can be converted with the amd-to-es6 tool. The sample project for developing new bundles mapapps-4-developers is already prepared for using the new syntax.
Theming
With map.apps 4.9 new color variables are available to customize the OmniSearch background and input-text color via LessCss. For custom themes, the following variables with the default values must be added :
@ct-omnisearch-input-background-color: #fff; @ct-omnisearch-input-text-color: #000; @ct-omnisearch-drawer-button-background-color: @ct-omnisearch-input-background-color; @ct-omnisearch-drawer-button-icon-color: darken(@disabled-text-color, 30);
Dependencies
Changelog
4.9.1
Line 4 Bundles (4.9.1)
New Features
|
[Analytics-Logging] Integrate configuration for centralized logging infrastructure |
|
[TOC] Dynamically react to the 'listMode' property |
Fixed Issues
|
[AGS Search] AutoStoreRegistration creates stores for graphics layers |
|
[Legend] PictureFillSymbols paths are not resolved correctly |
|
[Map] Sublayers of WMS are not displayed in some cases |
|
[Native App Export] ProjectionEngine not loaded if "file://" prefix is on browser |
|
[Native App Export] Some bundles are not included in export |
|
[Omnisearch] No zoom is performed when openpopup action is used |
|
[Popups] Custom Action not shown for popup defined on store when opened from result center |
|
[TOC] Divider sometimes missing in actions menu |
|
[TOC] listMode is not correctly applied if configured at sublayer level |
4.9.0
Line 4 Bundles (4.9.0)
New Features
|
[CORS Filter] Allow use of wildcards in allowed origins configurations |
|
[Editing] Allow to edit in 3D scene views |
|
[Legend] Allow to show legend for base layers |
|
[Map] Disable mouse-wheel and touch navigation |
|
[Map] Support GeoRSS layer |
|
[Map] Support Imagery Tile Layer |
|
[Map] Support OGC API Features layer |
|
[Navigation Toolset] Move to previous or next view |
|
[OmniSearch] Open popup after successful search |
|
[Parameter Manager] Always show parameterized url in browser address bar |
|
[Parameter Search] Open popup after successful search |
|
[Popups] Allow to define popups for stores independent from layers |
|
[Popups] Allow to set maxInlineActions and visibleElements properties |
|
[Popups] Allow to use custom popup types for stores independent from layers |
|
[Popups] Allow to use popup-default for imagery layers |
|
[Popups] Do not allow popup-types for basemaps |
|
[Portal-App-Registration] Ensure that only users allowed to access the app portal item can open the app |
|
[Printing] Allow to define properties allowedLayouts and allowedFormats |
|
[ProxyServlet] Allow configuration of additional forward headers |
|
[Reporting] Default value of "usable" should be true after creation |
|
[Reporting] Default value of title should be the ID of the report after creation |
|
[Result Center] Use highlighter to draw graphics |
|
[Result Center] Use seperate layer for highlights |
|
[System] Ensure that Internet Explorer does not switch into compatibility mode |
|
[System] Update ArcGIS API for JavaScript to version 4.15 |
|
[TOC] Allow to control basemaps |
|
[Toolrules] Add rule for layer visibility (layer is enabled) |
|
[Toolrules] Add rule for scale |
|
[Toolrules] Add rules for sublayouts |
|
[Toolset] Make position of tooltips configurable for a whole toolset |
|
[Vuetify] Update to version 1.5.24 |
Fixed Issues
|
[apprt] Stop of an app leads to errors in the console |
|
[apprt-request] Endless retries during access of portal item |
|
[ct/store/SpatialQuery] Complex Query on memory store with $intersects point throws error |
|
[DataView] Destroying DataView leads to error |
|
[Documentation] JavaScript API docs are sometimes missing / wrong |
|
[Editing] Browser crashes while editing vertices of a large feature |
|
[Layout] Font-size of tools inside a toolbox is too large |
|
[Legend] Entries are not removed when new layer is added |
|
[Map] Perfomance issues with feature layers |
|
[Omnisearch] Error handling is wrong when search gets cancelled |
|
[Popups] Coded values of MapImageLayer Sublayers are not displayed correctly |
|
[Portal Item Registration] Removing portal registration fails |
|
[Reporting] Report template is not updated when filename is reused |
|
[Resultcenter] Popup appears on wrong location after SRS change |
|
[Scalebar] Overlays popup |
|
[Selection] Polygon selection mode not disabled |
|
[Selection] Selection tool does not work properly |
|
[Sketching/Editing] Map pans instead of moving vertex |
|
[TOC] Nested Sublayers displayed in wrong order |
|
[TOC] Oversized sublayer description not displayed correctly |