nakarte

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

config.js (1141B)


      1 import secrets from './secrets';
      2 
      3 const config = {
      4     caption: `
      5         <a href="https://docs.nakarte.me">Documentation</a> |
      6         <a href="https://about.nakarte.me">News</a> |
      7         <a href="mailto:nakarte@nakarte.me" target="_self">nakarte@nakarte.me</a> |
      8         <a href="https://about.nakarte.me/p/blog-page_29.html">Donate</a>`,
      9     defaultLocation: [49.73868, 33.45886],
     10     defaultZoom: 8,
     11     googleApiUrl: `https://maps.googleapis.com/maps/api/js?v=3&key=${secrets.google}`,
     12     westraDataBaseUrl: 'https://nakarte.me/westraPasses/',
     13     CORSProxyUrl: 'https://proxy.nakarte.me/',
     14     elevationsServer: 'https://elevation.nakarte.me/',
     15     wikimediaCommonsCoverageUrl: 'https://tiles.nakarte.me/wikimedia_commons_images/{z}/{x}/{y}',
     16     geocachingSuUrl: 'https://nakarte.me/geocachingSu/geocaching_su2.json',
     17     tracksStorageServer: 'https://tracks.nakarte.me',
     18     wikimapiaTilesBaseUrl: 'https://proxy.nakarte.me/wikimapia/',
     19     mapillaryRasterTilesUrl: 'https://mapillary.nakarte.me/{z}/{x}/{y}',
     20     urlsBypassCORSProxy: [new RegExp('^https://pkk\\.rosreestr\\.ru/', 'u')],
     21     ...secrets,
     22 };
     23 
     24 export default config;