-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update from dev #339
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…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.
# Conflicts: # src/app/app.module.ts
# Conflicts: # src/app/map-renderer/map-renderer.component.ts # yarn.lock
# Conflicts: # 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.
# Conflicts: # yarn.lock
docs: add a changelog for notable changes
feat(offline): Implement local map caching and download feature
…lient into 289-rethink-signatures
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.
fix: add primary to fix firefox issue
Rework access using share links issue #253
289 rethink signatures
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.