Releases: heremaps/xyz-maps
Releases · heremaps/xyz-maps
v0.40.2
v0.40.1
0.40.1 (2024-12-3)
display
- fixed: resolve excessive tile processing issue introduced in v0.40.0, boosting performance
v0.40.0
0.40.0 (2024-11-29)
editor
- improved: Allow customization of default RangeSelector through enhanced overlay styles.
- added: introduce getSelectedFeature method to retrieve the currently selected feature.
- added: Introduced batch editing to group multiple feature modifications into a single history entry. See batch, startBatch, endBatch, Playground Example
- fixed: Highlighted crossings links are reset in all cases.
- fixed: Ensure RangeSelector fully supports custom Navlink/Line styles and correctly handles zLayer for proper layering.
display
- improved: refined depth clipping to enhance visual quality at high pitch angles
- improved: Prevent transparency rendering issues when handling clipped data with offsets larger than remote source tile bounds.
- added: Line dashes now support dynamic StyleExpressions with intermediate zoom level support.
- added: The dynamic coloring of the horizon is now possible with LayerStyle.skyColor, including support for gradients for smooth transitions from sky to horizon
- fixed: prevent the Compass UI from causing the map view to be reset in some cases with excessive applied rotation and tilt
core
- improved: Enhanced Provider.clear to support more flexible inputs, including bounding boxes and tiles.
- added: locally cached tiles can now be queried using TileProvider.getCachedTiles
- fixed: resolve incorrect module initialization in non-browser environments like Node.js
- fixed: resolve potential rendering artifacts for huge polygons in MVT datasources
v0.39.0
0.39.0 (2024-9-6)
editor
- improved: Full support added for custom Navlink styles, which are now preserved and reapplied during re-rendering, such as in response to pointer events.
- fixed: Ensure EditRestrictions are evaluated during AreaShape drag operations
core
- fixed: ensure valid URL is used for all IMLProvider delete feature requests
- fixed: Ensure custom feature styles are fully respected when using StyleExpressions
- fixed: Ensure ClusterTileLayer properly clears and reclusters when the source data provider is cleared.
display
- added: Introduced a new lighting engine that enables advanced configuration at both the layer and style levels. For detailed setup instructions, refer to LayerStyle.lights. See Playground Example.
- added: Integrated specular lighting, shininess, and emissive properties for enhanced reflections and self-illumination. These features are applicable to various 3D styles, including extruded Polygons, Boxes, Spheres and Models.
- added: introduce fillIntensity to control color intensity of 3D styles under directional lighting
- added: Model Styles now support unclamped and extended texture coordinates.
- improved: Enhanced the visuals of Box edges for better clarity and detail.
- fixed: resolve 3D model loading issues in release builds
- fixed: ensure Shininess parameter in Wavefront OBJ materials correctly affects specular reflections
- fixed: Ensure the strokeWidth of Boxes is correctly rendered in all cases
- fixed: Trigger PointerEvents for Point Styles on Polygon geometries
- fixed: resolve slight text flickering during long animations
v0.38.0
0.38.0 (2024-7-26)
editor
- improved: Modifying building footprints now works seamlessly even when shape points are covered by building extrusions.
- fixed: correctly edit 3D LineString geometry displayed as 2D due to styling.
- fixed: Resolved issue preventing translation of 3D buildings using the Transformer utility.
display
- added: LayerStyles can now be defined in pure JSON using StyleExpressions. See Playground Example.
- added: Enabled pointer event triggering for flat 2D geometry that is positioned below but rendered on top of 3D geometry.
- improved: Enhanced "opacity" and "strokeDasharray" style properties to support StyleZoomRanges for dynamic zoom-level-based rendering.
- fixed: resolve setBackgroundColor issue with StyleZoomRange or StyleValueFunction.
- fixed: ensure correct rotation and positioning of icons along all segments of LineStrings
- fixed: Resolved alpha blending issues for colors defined as RGBA arrays.
core
- added: Add LayerStyle.zLayer for fallback drawing order control when zLayer is not explicitly defined on the style.
- added: Introduce Layer methods setVisible(visible: boolean) and isVisible() for controlling and querying layer visibility directly, complementing LayerOptions.visible without modifying layer presence on the display.
- fixed: resolve packaging issue causing excessive artifact size
v0.37.0
0.37.0 (2024-5-10)
core
- improved: Ensured that all parameters are URL encoded for both "SpaceProvider" and "IMLProvider".
- added: The new ClusterTileLayer enables efficient client-side clustering of map-data from various sources, providing optimized clusters at each zoom level, supporting dynamic feature addition/removal and customizable property aggregation for tailored data summarization and display. Playground Example
- added: Introducing the "findPath" method for optimal client-side path finding on a GeoJSON road network supporting advanced options such as custom turn restrictions and weights.
- fixed: Custom request parameters utilizing arrays are now properly URL encoded for improved reliability
display
- fixed: In cases where a particularly large dataset is frequently updated, it could lead to the display of outdated data.
- fixed: The alpha blending of heatmaps has been corrected and is now functioning as intended.
- fixed: Pointerevents at intermediate zoom levels now activate accurately when used alongside StyleZoomRanges/StyleValueFunctions.
editor
- fixed: In exceptionally rare instances, timing issues could cause inconsistent triggering of the 'ready' event.
v0.36.0
0.36.0 (2023-12-8)
core
- added: The "ignoreTileQueryLimit" option has been introduced to mitigate an excessive number of tile requests.
display
- improved: The anti-aliasing for lines using floating point widths has been enhanced.
- improved: In the visualization of clipped polygon outlines, the tile edges are excluded, regardless of whether the clipped geometry extends beyond the tile's boundaries.
- improved: The display quality of dashed lines has been improved.
- improved: An updated feature could experience a very brief flicker after changing the zoom level.
- added: The alpha blending has been revamped to enable the map to display with a transparent background, allowing the remaining browser content to show through behind it. See backgroundColor. (#90)
- added: In addition to pixels, dashed lines can now also be defined and displayed in meter units.
- added: It is now possible to combine Images/Icons with dashed line patterns by using strokeDashimage.
- added: Image/Icon styles now support the use of IconAtlases.
- added: By using textAnchor it is now possible to align the text relative to the anchor point.
- added: Introduced CollisionGroup which allows to define various CollisionGroups (multiple Styles grouped together that will be handled as a single collision object) within the same StyleGroup.
- added: LayerStyles backgroundColor now supports dynamic colors taking zoom level into account.
- added: Colors now support hexadecimal color strings with alpha and hexadecimal numbers as input.
- fixed: The triggering of pointer events for 3D point geometry was inconsistent across various scenarios.
- fixed: The tile preview is only partially displayed when zoomed out.
- fixed: In very rare cases, Chrome could cause text to be displayed offset.
- fixed: Using StrokeDashArray with very long lines could result in artifacts.
- fixed: Glitches that may have appeared on the edges of previewed raster tiles have been resolved.
- fixed: Issues with occasional tile preview display glitches have been fixed.
editor
- improved: The createFeatureContainer function now accommodates multiple arrays of features as arguments. [fix #91]
v0.35.0
0.35.0 (2023-8-22)
editor
- added: It is now possible to select multiple LineShapes/NavlinkShapes and drag them simultaneously to change position. See: shape.select(), Playground
display
- improved: The display of preview tiles has been optimized.
- improved: Tiles that are not part of the actual viewport but whose data is still visible due to the high altitude are now processed and displayed.
- added: A new HeatmapStyle has been introduced, which makes it possible to visualize density maps where the data density is displayed in different colors. Playground Example
- added: Point styles can now also be applied separately to line ranges with the anchor set to "Line".
- fixed: Tile previews of transparent point styles may flicker for a very brief moment
- fixed: Fixes an issue where tiles are only partially visible when the map is tilted at a steep angle.
- fixed: The Compass UI now works properly even when the map is heavily pitched.
- fixed: In rare cases, points may be offset if they lie exactly on a tile boundary.
- fixed: Region-based point styles with an explicitly defined altitude are not displayed if there is no altitude in the source geometry.
v0.34.0
0.34.0 (2023-6-21)
editor
- improved: The RangeSelector utility now treats RangeMarkers that are exactly on top of each other as a valid zero-length range.
- improved: The RangeSelector utility now defines ranges with a precision of 9 decimal places.
- fixed: Dragging the VirtualShape of a Navlink feature with 3d coordinates can result in offset geometry
- fixed: Snapping Navlink shapes can fail when Navlink and Line features are mixed in the same layer source.
- fixed: Turn restrictions from 3D data may be misaligned when forcing a 2D display.
- fixed: For 3D Addresses/Places, the anchor line of routing points can be displayed incorrectly.
- fixed: The crossing tester utility used elevation even though 2D mode was enforced.
display
- improved: Features can now be at even higher altitudes before being clipped.
- improved: Text placed on 3D line geometry is now properly aligned.
- added: 3D models in Wavefront .obj format can now be placed and viewed on the map using ModelStyle.model
- added: Alpha support for 3D Models.
- added: 3D Models do now support ambient light, emissive light, specular highlights and normal-maps.
- fixed: Pointer events may fire incorrectly for high altitude Spheres
- fixed: Text placed on lines is now always rendered correctly.
common
- added: Tasks can now be paused during runtime and resumed at any point in time.
v0.33.0
0.33.0 (2023-4-6)
editor
- added: Editing of 3D LineString geometry is now automatically enforced in 2D only when using 2D styling.
- added: The CrossingDetector utility now supports 3D line geometry and automatically switches between 2D and 3D modes based on the style used.
- fixed: The crossing tester utility detects too many crossings when used with 3d line geometry.
- fixed: Trigger pointerleave events for hovered features currently in submit process can fail
display
- improved: Improved rendering of intersecting 3D Icon-styles with transparency
- improved: The rendering of lines in 3D space has been improved
- added: New ModelStyles have been introduced that allow features to be displayed as 3D models including lighting support.
- added: Point and line styles can now be configured whether to scale their size based on the altitude. See: scaleByAltitude
- added: Altitude is now taken into account when projecting a geographic coordinate in pixels.
- fixed: Pointer events for 3d lines are now triggered correctly in intermediate zoom levels.
- fixed: Using range based line styling can, in rare cases, lead to a crash.
- fixed: Line ranges can be ignored if the start/end of the range is exactly on a line coordinate.
- fixed: If longitude exceeds 180 degrees, an incorrect tile may be displayed.
- fixed: Heavy workload/layer-setup may cause collision detection to crash
- fixed: Searching for rendered features at a specific pixel will fail if the layers are not explicitly passed
core
- fixed: Using custom margin was ignored when set via TileLayer constructor