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
shapely.Polygon.svg() allow to draw polygon in SVG.
Instead of using template, we should rely on this method, because it will fix issue with zone with hole.
TODO and To take care of
Replace render method with version that take advantage of svg() method
be careful to make it compatible with css stuff (require to modify the dom, adding classes and removing stuff we don't want)
Test with zone with hole (for instance a circular zone 0206 0207 0307 0406 0305 0205 should not cover hex 0306)
Example of return from svg() method
<pathfill-rule="evenodd"fill="#66cc99"stroke="#555555"stroke-width="2.0"opacity="0.6"d="M 90.0,259.8076211353316 L 120.0,207.84609690826528 L 100.0,173.20508075688775 L 50.0,259.8076211353316 L 90.0,259.8076211353316 z" />
The text was updated successfully, but these errors were encountered:
Context
shapely.Polygon.svg() allow to draw polygon in SVG.
Instead of using template, we should rely on this method, because it will fix issue with zone with hole.
TODO and To take care of
svg()
methodExample of return from
svg()
methodThe text was updated successfully, but these errors were encountered: