You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MapUtilities, boundsFromPath function is not calculating the bounds correctly for segments based on a relative SVG commands (e.g. l, s, c, etc.). This creates wrong dataLabel placement, and wrong map view calculation that could not contain the map point path. https://jsfiddle.net/BlackLabel/dygpu1sz/3/
It requires manual setting of the bounds but gives usable results. Details in comments in JS & HTML code sections of the demo. If anything is unclear please let me know and I can elaborate.
Behaviour
In MapUtilities, boundsFromPath function is not calculating the bounds correctly for segments based on a relative SVG commands (e.g. l, s, c, etc.). This creates wrong dataLabel placement, and wrong map view calculation that could not contain the map point path.
https://jsfiddle.net/BlackLabel/dygpu1sz/3/
The segments parsing doesn't handle arcs and curves well. The feature is clipped and not fully visible.
Demo: https://jsfiddle.net/BlackLabel/dygpu1sz/4/
Product version
v11+
Related issue
#18949
The text was updated successfully, but these errors were encountered: