Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reprend le TP 3 * Ajoute un exo jointures spatiales * ajoute image mercator * Add ojs cell * update * Retour * rm axis * Fix bug chlro * update * change
- Loading branch information
1 parent
e8d0062
commit 20432f7
Showing
8 changed files
with
497 additions
and
491 deletions.
There are no files selected for viewing
Binary file added
BIN
+176 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Brands-Regular-400.ttf
Binary file not shown.
Binary file added
BIN
+90 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Brands-Regular-400.woff2
Binary file not shown.
Binary file added
BIN
+74.3 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Free-Regular-400.ttf
Binary file not shown.
Binary file added
BIN
+24.5 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Free-Regular-400.woff2
Binary file not shown.
Binary file added
BIN
+376 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Free-Solid-900.ttf
Binary file not shown.
Binary file added
BIN
+131 KB
_extensions/quarto-ext/fontawesome/assets/webfonts/FontAwesome6Free-Solid-900.woff2
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
```{ojs} | ||
container_projection = html`<div class="container"> | ||
<div class="row"> | ||
<div class="projection"> | ||
<div class="projection-label">Choisir une projection</div> | ||
${viewof projection} | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="projectedMap"> | ||
${projectedMap} | ||
</div> | ||
</div> | ||
</div>` | ||
``` | ||
|
||
|
||
```{ojs} | ||
viewof projection = projectionInput({ | ||
name: "", | ||
value: "Mercator" | ||
}) | ||
``` | ||
|
||
```{ojs} | ||
import {projectionInput} from "@fil/d3-projections" | ||
import {map} from "@linogaliana/base-map" | ||
``` | ||
|
||
```{ojs} | ||
projectedMap = map(projection, | ||
{ | ||
//svg: true, | ||
value: projection.options, | ||
width: width_projected_map, | ||
//height: 300, | ||
//rotate: [0, -90], | ||
//inertia: true, | ||
show_equator: true, | ||
background: "#f1f0eb" | ||
//show_structure: true | ||
}) | ||
``` |