Skip to content

Commit

Permalink
js code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil authored Nov 3, 2024
1 parent ac23ba2 commit 90f2911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Clipping and geometric operations for spherical polygons.
<img width="480" height="250" alt="world map" src="https://d3.observablehq.cloud/d3-geo-polygon/snapshots/dodecahedral.png">
</picture>

```html run=false
```js run=false
const projection = geoDodecahedral();
```

This module introduces a dozen projections that need polygon clipping. It can also be used to clip a projection with an arbitrary polygon:

```html run=false
```js run=false
const projection = geoEquirectangular()
.preclip(geoClipPolygon({
type: "Polygon",
Expand Down

0 comments on commit 90f2911

Please sign in to comment.