Skip to content

Commit

Permalink
testing svg on github readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomroh committed Oct 20, 2021
1 parent 3c4c58a commit 9202c49
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 30 deletions.
31 changes: 1 addition & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,33 +68,4 @@ leaflet() %>%

## Map Symbols

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<rect id="rect" x="2" y="2" height="50" width="50" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></rect>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<circle id="circle" cx="27" cy="27" r="25" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></circle>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="triangle" points="2,52 52,52 27,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="plus" points="22,2 22,22 2,22 2,32 22,32 22,52 32,52 32,32 52,32 52,22 32,22 32,2 22,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="cross" points="9.07106781186548,2 2,9.07106781186548 19.9289321881345,27 2,44.9289321881345 9.07106781186548,52 27,34.0710678118655 44.9289321881345,52 52,44.9289321881345 34.0710678118655,27 52,9.07106781186548 44.9289321881345,2 27,19.9289321881345 9.07106781186548,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="diamond" points="27,2 2,27 27,52 52,27 27,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="star" points="22,2 22,14.92893 9.07107,2 2,9.07107 14.92893,22 2,22 2,32 14.92893,32 2,44.92893 9.07107,52 22,39.07107 22,52 32,52 32,39.07107 44.92893,52 52,44.92893 39.07107,32 52,32 52,22 39.07107,22 52,9.07107 44.92893,2 32,14.92893 32,2 22,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<rect id="stadium" x="2" y="2" height="50" width="50" rx="25%" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></rect>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<line id="line" x1="2" x2="52" y1="27" y2="27" stroke="black" stroke-opacity="1" fill-opacity="1" stroke-width="2"></line>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="54" height="54">
<polygon id="polygon" points="27,2 3.22358709262116,19.2745751406263 12.3053686926882,47.2254248593737 41.6946313073118,47.2254248593737 50.7764129073788,19.2745751406263 27,2" stroke="black" fill="transparent" stroke-opacity="1" fill-opacity="1" stroke-width="2"></polygon>
</svg>
<img src="man/figures/rect.svg" alt="rect" width = 50 height = 50></img><img src="man/figures/circle.svg" alt="circle" width = 50 height = 50></img><img src="man/figures/triangle.svg" alt="triangle" width = 50 height = 50></img><img src="man/figures/plus.svg" alt="plus" width = 50 height = 50></img><img src="man/figures/cross.svg" alt="cross" width = 50 height = 50></img><img src="man/figures/diamond.svg" alt="diamond" width = 50 height = 50></img><img src="man/figures/star.svg" alt="star" width = 50 height = 50></img><img src="man/figures/stadium.svg" alt="stadium" width = 50 height = 50></img><img src="man/figures/line.svg" alt="line" width = 50 height = 50></img><img src="man/figures/polygon.svg" alt="polygon" width = 50 height = 50></img>
3 changes: 3 additions & 0 deletions man/figures/circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/diamond.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/polygon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/rect.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/stadium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions man/figures/triangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9202c49

Please sign in to comment.