Skip to content
Open

kktc #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified images/turkeyvisited.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<button id="download_button" onclick="downloadMap()">Haritayı İndir</button>

<div id="city_count_text">Seçilen il sayısı:&nbsp;<span id="city_count">0</span>/81</div>
<div id="city_count_text">Seçilen il sayısı:&nbsp;<span id="city_count">0</span>/82</div>

<script src="turkeyvisited.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ html {
justify-content: center;
margin-left: auto;
margin-right: auto;
margin-top: 5%;
margin-top: 1%;
width: 1250px;
height: 550px;
height: 600px;
background-color: #e3e2df;
}

Expand Down
2 changes: 1 addition & 1 deletion tr-cities.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion turkeyvisited.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function downloadMap() {
ctx.textAlign = "start";
var textWidth = ctx.measureText("ozanyerli.github.io/turkeyvisited");
ctx.fillText("ozanyerli.github.io/turkeyvisited", 10, canvas.height - 25);
ctx.fillText(cityCount + "/81", 10, 5);
ctx.fillText(cityCount + "/82", 10, 5);

destCanvas.toBlob(function (blob) {
saveAs(blob, "turkeyvisited.png");
Expand Down