MCPcopy Create free account
hub / github.com/plotly/plotly.js / rewindGeojson

Function rewindGeojson

topojson/bin/process_geodata.mjs:63–63  ·  view source on GitHub ↗
(geojson, clockwise = true)

Source from the content-addressed store, hash-verified

61
62// Wind the polygon rings in the correct direction to indicate what is solid and what is whole
63const rewindGeojson = (geojson, clockwise = true) => rewind(geojson, clockwise);
64
65// Clamp x-coordinates to the antimeridian
66function clampToAntimeridian(inputFilepath, outputFilepath) {

Callers 1

convertLayersToTopojsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…