Repository navigation
Request optimizations - #50
Merged
Merged
Conversation
improve performance by reusing cached tile counts when zooming out, reducing unnecessary requests. added new methods for calculating tile rings and counting from cached tiles, ensuring efficient data handling while maintaining accurate feature counts. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
…les (#14) added logic to reuse entities from previously fetched tiles when zooming in, reducing unnecessary requests. this improves performance and efficiency by leveraging cached data, ensuring smoother interactions while navigating the map. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
refactor cluster rendering logic to improve performance and clarity. added a new function to draw cluster counts as circles, enhancing visual representation. removed redundant code for better maintainability. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
introduce a new test suite for OpenLayers functionality using happy-dom to simulate a browser environment. This ensures that map rendering and feature handling are correctly validated, improving overall test coverage and reliability of the mapping features. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
introduce tests for Leaflet map rendering to ensure markers are displayed correctly based on the current view. The tests validate marker caching behavior and ensure that repeated movements do not trigger unnecessary data requests, improving performance and user experience. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
…ackage Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
enhance the STAM layer to properly release event listeners and stop drawing when removed from the map. this prevents memory leaks and ensures that the layer does not react to map events when it is not active. added tests to verify the teardown behavior of the layer. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
updated package exports to include type definitions for leaflet and openlayers; modified typecheck script to use tsc6 for improved compatibility. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
refactor MQTT handling to support dynamic configuration through options, allowing users to specify broker URLs, authentication, and topics. This improves flexibility and usability for various deployment scenarios. Additionally, updated tests to cover new MQTT functionalities. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
introduce maxMarkersPerTile to control the number of entities requested per tile when no count is provided. This enhances performance by allowing users to limit the number of markers fetched, improving map loading times and reducing server load. Update related tests to ensure correct behavior with this new option. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
introduce maxEntities to limit the number of entities returned in queries, preventing excessive data loading. add LoadOptions interface to support abort signals and progress callbacks, enhancing user experience during data retrieval. update relevant methods to utilize these new options, ensuring efficient data handling and improved performance. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
revised the README to clarify that STAM is a browser library with no installation required. Updated usage examples for both Leaflet and OpenLayers to reflect the correct import statements and usage patterns. Adjusted the description of request parameters to improve clarity on default values and behavior. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
refactor the STAInterface to improve request efficiency by implementing page size limits and enhancing the handling of loaded pages. This change allows for better performance during data fetching, especially when dealing with large datasets. Additionally, the LoadOptions interface has been updated to reflect these changes, ensuring that the API remains intuitive and easy to use. Signed-off-by: Tobias Pressler <pressler.tobias@gmail.com>
TobiasPressler
force-pushed
the
14-request-optimization
branch
from
August 29, 2026 18:27
242e778 to
3c831c6
Compare
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or 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
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.