Releases: heremaps/xyz-maps
Releases · heremaps/xyz-maps
v0.22.0
0.22.0 (2021-5-10)
display
- improved: optimised text placement on line geometries.
- improved: distancing of repeated StyleGroups.
- improved: space utilization of collision detection.
- added: style.repeat can now be used with all Point styles and collision-groups.
- added: support for collision detection based on the combined bounding-boxes of entire StyleGroups.
- added: In addition to Text, now also Circles, Rectangles, and Images can be displayed using (Multi)LineString geometry.
- added: Support for "CollisionGroups" based on (Multi)LineString geometries.
- added: The "anchor" of Text, Circles, Rectangles and Images can now be defined for LineString geometries. usage: style.anchor = 'Line' | 'Coordinate'.
- added: support for "Image" styles using (Multi)LineString geometry.
- added: support for collision detection of Circle, Rect and Image styles based on point geometry.
- added: support for Circle/Rect/Image styles using (Multi)Polygon geometry.
- added: set the map's center and zoomlevel to fully contain the visible area of several features. e.g. display.setViewBounds(Feature[]|FeatureCollection)
- added: support for line wrapping of text on line geometry. (disabled by default)
- fixed: text on line geometry flickered or was cut off in rare cases.
- fixed: trigger pointer-evens for offset points or Text.
- fixed: rotation was ignored for Text styles that are using "viewport" alignment.
- fixed: collision detection is ignored if collide property is defined as a StyleFunction.
- fixed: missing pointer-events for Rects and Images without an explicitly defined "height" property.
- fixed: "clipping geometry" of clipped data sources that use a tile margin/buffer may be visible.
core
- added: pointerEvents can now be enabled or disabled in TileLayer constructor. (deactivated for MVTLayer by default)
- fixed: optional margin option was ignored for MVTLayers.
v0.21.1
0.21.1 (2021-3-11)
display
- fixed: text that uses offsetX/offsetY is incorrectly offset on retina devices
- fixed: text stroke rendering artifacts in Firefox
- fixed: styles that are using colors with StyleZoomRanges are invisible
v0.21.0
0.21.0 (2021-3-9)
editor
- added: typescript declarations for the public api interface
- fixed: extruded areas / Buildings can't be translated by user-interaction with the transformer utility in certain layer configurations
- fixed: x,y coordinates are flipped in deprecated "editor.PixelCoordinate" of legacy api interface
display
- added: typescript declarations for the public api interface
- added: Lines, Circles and Rectangles can now be defined and displayed with dimensions in meters. e.g. style.radius = "1m"
- added: Support to offset Circles and Rects in meters e.g. style.offsetX = "1m"
- added: Lines can now be offset in meters to the left or right. e.g. lineStyle.offset = "1m"
- improved: pointer event triggering now supports a larger position offset for point styles
- fixed: broken event triggering of features that are styled using "zoomRange" values.
- fixed: invoke "styleValueFunctions" with the correct zoomlevel in any case
- fixed: text that uses stroke and alpha is displayed opaque
- fixed: missing pointer-events when the map is zoomed in very close (zoomlevel >22)
core
- added: typescript declarations for the public api interface
general
- added: typescript support in the api playground
- added: the playground now supports code completion/suggestions using the api type declarations.
v0.20.0
0.20.0 (2021-2-12)
editor
- added: Convert mixed geographical and pixel coordinates of various formats to GEOJSONCoordinates.
- added: "dragStart", "dragMove" and "dragStop" events can be listened when a Zone of the ZoneSelector utility is dragged.
- fixed: tiles can flicker when features are hovered, selected or modified
- fixed: adding a feature without properties
core
- added: New editable remote TileProvider "IMLProvider" with support for "HERE Interactive Map Layer" remote data sources
display
- improved: dashed lines are now antialiased and free of double contours
- fixed: several edge cases can lead to unintended label collisions
- fixed: correct positioning of screen aligned text with offset when the map is scaled
- fixed: possible cutoff Lines on tile boundaries for unclipped datasources
- fixed: strokeWidth is used to determine the correct size of Circles
- fixed: stroke is visible even though style.strokeWidth is set to 0 explicitly
- fixed: offset text can collide on retina devices
general
- improved: new api playground and documentation
v0.19.0
0.19.0 (2020-12-23)
editor
- improved: zoneSelector is still active and visible after mapview change
- improved: updated zoneSelector styling and improved customization
- fixed: display correct Zone offset positions in all cases
- fixed: Zone Markers are not draggable in some cases
core
- fixed: data will be send twice if a remote postProcessor is used.
display
- added: line geometries can now be split into several segments and styled individually. usage: style.from/to=number[0-1] (0-100%)
- added: Support to display lines offset to the left or right side. use: style.offset=number. positive/negative values offsets in pixel to the left/right side (relative to line direction)
- improved: crisp icon rendering
- improved: Image tiles are rendered more sharply
- fixed: proper pointer-event triggering for offset point-styles
- fixed: map aligned icons are displayed with double size
- fixed: trigger pointer-events for lines and polygons correctly in all cases
- fixed: point data of MVT datasources that's located outside of the actual tile boundaries might be placed incorrectly
- fixed: rotated text can be invisible
- fixed: offset text can be placed incorrectly if map is rotated
- fixed: label collision detection for offset text
v0.18.0
0.18.0 (2020-12-7)
display
- added: support for right to left text and arabic contextual forms
- added: Automatic line wrapping for Text on Point geometries. use: style.lineWrap=number|boolean to set maximum number of character per line [default 14] or disable
- added: support explicit line breaks '\n' for text on Point geometries
- improved: Correctly render font outlines in case of text characters are overlapping/nested
- improved: sharper text rendering
- improved: text rendering performance and memory usage.
- fixed: font opacity is ignored if the style is using alpha in fill or stroke colors
- fixed: text on line geometry can be upside down if map is rotated
v0.17.0
0.17.0 (2020-11-9)
core
- added: introduced provider postprocessors and preprocessors to enable custom data processing for remote data sources.
- improved: add/remove Feature is more robust for invalid input
- fixed: adding an empty FeatureCollection/Array via provider.addFeature(..) throws an exception. [#43]
editor
- fixed: zoneSelector util does not display side of zone [#44]
display
v0.16.0
0.16.0 (2020-10-9)
display
- added: Support for global style-based feature drawing order across all layers. usage: style.zLayer=number
- improved: Drawing order doesn't affect label priority handling in collision detection
- fixed: slight flickering at image tile boundaries/edges on iOS devices
- fixed: possible invisible labels that are colliding and placed very close to tile boundaries
editor
- improved: use cross layer styling to ensure routing-point is always rendered below display-point
- fixed: navlink direction/turn-restriction icons are aligned incorrectly when map is pitched/rotated [#40]
v0.15.2
0.15.2 (2020-9-11)
editor
- improved: Area drawing with drawingBoard. invalid geometry (self-intersections) are temporarily allowed and highlighted.
display
v0.15.1
0.15.1 (2020-8-21)
display
- improved: Icon positioning precision when map is zoomed in very close (zoomlevel >22)
- fixed: ZoomControl UI becomes invisible on safari when map is pitched and Compass UI is active
- fixed: Circles/Rects are partially not visible on mobile (iOS/Android)