Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from dev #339

Merged
merged 96 commits into from
Jan 18, 2024
Merged

Update from dev #339

merged 96 commits into from
Jan 18, 2024

Conversation

Lucamuh
Copy link
Contributor

@Lucamuh Lucamuh commented Jan 18, 2024

No description provided.

dfseifert and others added 30 commits January 16, 2024 10:56
…ebGL Rendering

Upgraded the `ol` and `ol-ext` packages to newer versions while removing some unused packages. This required small changes on the usage, such as replacing the `ol/layer/tile` with `ol/layer/WebGLTile` for the updated `ol` version. The unused packages' removal in `yarn.lock` reduces the codebase size, thus improving loading time and performance.
A new file, CHANGELOG.md, has been added to the project to keep track of significant changes in a readable manner. This specific update mentions about map changes stored locally for offline use and the adoption of WebGL for Map rendering.
The wording of the description about storing map changes locally in the CHANGELOG.md has been updated. This refactor improves clarity, specifies the use case of going offline, and emphasizes that changes are not lost upon page reload.
This commit introduces a utility function to detect WebGL support and accordingly choose between GPU and CPU rendering for the map. If WebGL is not supported by the browser, it falls back to a CPU-based rendering layer. Changes have been integrated into map rendering and geoadmin services. This improves rendering compatibility across different user environments.
…er utils

Introduced a new type `RenderStrategy` in the utils of the map-renderer to distinguish between 'webgl' and 'default' rendering methods. Also added an RxJS Subject `renderStrategy$` to broadcast the current rendering strategy. By doing this, other parts of the application can now react to changes in the map rendering strategy.
This commit introduces a new launch option to the Chromium configuration in the Playwright setup file. Specifically, it forces Chromium to use EGL for GPU hardware acceleration, which is necessary for supporting WebGL content.
The labels for target types in the angular.json file across production, development, and local configurations, as well as the 'extract-i18n' option, have been updated. The "browserTarget” has been changed to "buildTarget" to better reflect the nature of the build process.
A service worker and web manifest have been added to enable the application to function as a Progressive Web App (PWA). The introduced service worker is configured to cache resources and handle network requests to increase offline functionality. As a part of this, dependency on '@angular/pwa' and '@angular/service-worker' packages were introduced in 'package.json'. The web manifest provides information about the application such as name, icons, and display mode for the application's PWA feature.
This commit fixes the style issues introduced in f1d29f7 according to the output
from Prettier.

Details: #326
# Conflicts:
#	src/app/map-renderer/map-renderer.component.ts
#	yarn.lock
A change has been made in the map-renderer.component.ts to modify the VectorLayer parameter type for the existingCurrentLocations variable. Instead of using VectorSource<Point>, it now uses VectorSource<Feature<Point>> to provide more functionality.
…ersion

feat(ol): Update `ol` and `ol-ext` packages and adjust its usage to WebGL Rendering
The commit modifies the ngsw-config.json file to include all JavaScript files under the "resources" section and restricts the cache to only the main.*.js in the "appShell" section. This change optimizes the service worker caching mechanism.
dfseifert and others added 28 commits January 18, 2024 09:41
docs: add a changelog for notable changes
feat(offline): Implement local map caching and download feature
This commit fixes the style issues introduced in 2a8f717 according to the output
from Prettier.

Details: #337
The codebase has been refactored to change the existing blob storage structure "blobMeta" to "localMapMeta" and "blobs" to "localMapBlobs". The corresponding changes have been made to the database, methods and map sources. This improves code clarity, creating distinction between local and general blob storage.
Rework access using share links issue #253
@Lucamuh Lucamuh merged commit 699db75 into feat/254 Jan 18, 2024
2 of 4 checks passed
@dfseifert dfseifert added this to the v4.0.0 milestone Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants