d3-geo icon indicating copy to clipboard operation
d3-geo copied to clipboard

Fix: Coerce string coordinates to numbers in boundsPoint function #278

Open DoiMayank opened this issue 1 year ago • 0 comments

This pull request addresses issue #278, where path.bounds should return numbers even when input coordinates are strings.

I have modified the boundsPoint function to coerce input coordinates to numbers. I tested the changes, and they successfully return numerical bounds for both string and number inputs.

DoiMayank avatar Sep 21 '24 20:09 DoiMayank