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
The documentation for turf.rewind left me confused after reading it. I could not understand what it was supposed to do.
The description section links to the Shoelace formula on Wikipedia, which itself has no mentions of rewinding or winding. Part of the description should include a short explanation of what winding is and how rewind changes it.
The example section shows the function being called and displays the resulting rectangle, but that rectangle is no different visually than the original rectangle. It would be beneficial to display the JSON or coordinates of both items somehow.
The text was updated successfully, but these errors were encountered:
I looked into how the documentation gets generated and how the example gets added to the map. Examples are defined in a jsdoc comment in the source file, and an array of items are assigned to var addToMap after a //addToMap comment. Could we add something similar to inspect the JSON, such as inspectJson? var inspectJson could accept an object mapping a name/access path to a value.
The documentation for
turf.rewind
left me confused after reading it. I could not understand what it was supposed to do.The description section links to the Shoelace formula on Wikipedia, which itself has no mentions of rewinding or winding. Part of the description should include a short explanation of what winding is and how
rewind
changes it.The example section shows the function being called and displays the resulting rectangle, but that rectangle is no different visually than the original rectangle. It would be beneficial to display the JSON or coordinates of both items somehow.
The text was updated successfully, but these errors were encountered: