nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 57cf123d9e7b0f1c66560197e779d6f7b10db865
parent 4ebbf2d1bfcb2390777dfab50fc6d43a9bc17e97
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat,  8 Dec 2018 23:33:52 +0100

move caption text to config, change links for docs and blog

now docs and blog are on nakarte.me subdomains

Diffstat:
Msrc/App.js | 5+----
Msrc/config.js | 6++++--
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/App.js b/src/App.js @@ -60,10 +60,7 @@ function setUp() { /////////// controls top-left corner - new L.Control.Caption(` - <a href="https://nakarte-me.blogspot.com/p/blog-page.html">Documentation</a> | - <a href="${config.newsUrl}">News</a> | - <a href="mailto:${config.email}" target="_self">nakarte@nakarte.me</a> `, { + new L.Control.Caption(config.caption, { position: 'topleft' } ).addTo(map); diff --git a/src/config.js b/src/config.js @@ -1,12 +1,14 @@ import secrets from './secrets'; export default Object.assign({ - email: 'nakarte@nakarte.me', + caption: ` + <a href="https://docs.nakarte.me">Documentation</a> | + <a href="https://about.nakarte.me">News</a> | + <a href="mailto:nakarte@nakarte.me" target="_self">nakarte@nakarte.me</a> `, googleApiUrl: `https://maps.googleapis.com/maps/api/js?v=3&key=${secrets.google}`, westraDataBaseUrl: 'https://nakarte.me/westraPasses/', CORSProxyUrl: 'https://proxy.nakarte.me/', elevationsServer: 'https://elevation.nakarte.me/', - newsUrl: 'https://nakarte-me.blogspot.com', wikimediaCommonsCoverageUrl: 'https://tiles.nakarte.me/wikimedia_commons_images/{z}/{x}/{y}', geocachingSuUrl: 'https://nakarte.me/geocachingSu/geocaching_su2.json', tracksStorageServer: 'https://tracks.nakarte.me',