Skip to content Skip to sidebar Skip to footer

Why Can't I See The Polygon Drawn In This Svg And How Can I Make It Visible?

Background: I'm letting users draw on a GoogleMap and I'm then pulling the points they draw from it to make an svg that the users can name and reference later. This seems to be wor

Solution 1:

It appears that svgs have precision limitations: "Using single-precision floats, SVG viewers are not expected to correctly draw differences between two values finer than 1/4,000,000 of the larger number (that’s 1 over 2 to the power of 22, approximately). In practice, very few achieve even that."

source: https://oreillymedia.github.io/Using_SVG/extras/ch08-precision.html

Post a Comment for "Why Can't I See The Polygon Drawn In This Svg And How Can I Make It Visible?"