mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
License work
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# openfreemap
|
||||
|
||||
### License
|
||||
## License
|
||||
|
||||
Licenses are listed in [LICENSE.md](LICENSE.md)
|
||||
The license of this project is [MIT](https://www.tldrlegal.com/license/mit-license). Map data is from [OpenStreetMap](https://www.openstreetmap.org/copyright). The licenses for included projects are listed in [LICENSE.md](https://github.com/hyperknot/openfreemap/blob/main/LICENSE.md).
|
||||
|
||||
@@ -49,7 +49,7 @@ button:-moz-focusring {
|
||||
/* --- start --- */
|
||||
|
||||
body {
|
||||
padding: 0 40px;
|
||||
padding: 0 40px 100px;
|
||||
|
||||
line-height: 1.5;
|
||||
font-size: 17px;
|
||||
|
||||
@@ -4,10 +4,10 @@ import marko
|
||||
|
||||
|
||||
def generate():
|
||||
licenses = open('../LICENSE.md').read().split('---')[0]
|
||||
# licenses = open('../LICENSE.md').read().split('---')[0]
|
||||
|
||||
text_md = open('text.md').read()
|
||||
text_md = text_md.replace('{licenses}', licenses)
|
||||
# text_md = text_md.replace('{licenses}', licenses)
|
||||
|
||||
text_html = marko.convert(text_md)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<button onclick="selectStyle('liberty')">Liberty</button>
|
||||
<button onclick="selectStyle('positron')">Positron</button>
|
||||
</p>
|
||||
<p>
|
||||
<p style="margin-bottom: 2em">
|
||||
Use the following style in a MapLibre map:
|
||||
<code id="style-url-code">https://tiles.openfreemap.org/styles/liberty</code>
|
||||
</p>
|
||||
|
||||
@@ -90,4 +90,6 @@ If you are using this in printed media or video, please attribute:
|
||||
|
||||
You do not need to display the OpenFreeMap part, but it is nice if you do.
|
||||
|
||||
{licenses}
|
||||
## License
|
||||
|
||||
The license of this project is [MIT](https://www.tldrlegal.com/license/mit-license). Map data is from [OpenStreetMap](https://www.openstreetmap.org/copyright). The licenses for included projects are listed in [LICENSE.md](https://github.com/hyperknot/openfreemap/blob/main/LICENSE.md).
|
||||
|
||||
Reference in New Issue
Block a user