Skip to content

Commit

Permalink
Deploying to gh-pages from @ 011fe3b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-hajek committed Sep 30, 2024
1 parent bea0c7e commit 9a7ae15
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/bundle.js.map

Large diffs are not rendered by default.

80 changes: 76 additions & 4 deletions config/gh-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,89 @@ const maptilerApiKey = '9m3Rhs1n1OMJfTblqAJR';

const stylePresets = [
{
id: 'streets',
name: 'Streets',
id: 'basic',
name: 'Basic',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/streets-v2/style.json',
url: 'https://api.maptiler.com/maps/basic-v2/style.json',
},
{
id: 'bright',
name: 'Bright',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/bright-v2/style.json',
},
{
id: 'dataviz',
name: 'Dataviz',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz/style.json',
},
{
id: 'dataviz-light',
name: 'Dataviz Light',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz-light/style.json',
},
{
id: 'dataviz-dark',
name: 'Dataviz Dark',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz-dark/style.json',
},
{
id: 'hybrid',
name: 'Hybrid Satellite',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/hybrid/style.json',
},
{
id: 'outdoor',
name: 'Outdoor',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/outdoor-v2/style.json',
},
{
id: 'satellite',
name: 'Satellite',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/satellite/style.json',
},
{
id: 'streets',
name: 'Streets',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/streets-v2/style.json',
},
{
id: 'topo',
name: 'Topo',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/topo-v2/style.json',
},
{
id: 'winter',
name: 'Winter',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/winter-v2/style.json',
},
];

export { mapboxGlAccessToken, stylePresets, maptilerApiKey };
const gazetteer = {
Locations: [
{
'San Francisco, CA': {
zoom: 18,
center: { lng: -122.4193, lat: 37.7648 },
},
},
{
'Washington DC': { zoom: 12, center: { lng: -77.0435, lat: 38.9098 } },
},
{ Zurich: { zoom: 15.27, center: { lat: 47.371003, lng: 8.540005 } } },
{ Paris: { zoom: 12.52, center: { lat: 48.85888, lng: 2.34694 } } },
{ Prague: { zoom: 14.47, center: { lat: 50.08419, lng: 14.41472 } } },
{ Tokyo: { zoom: 13.79, center: { lat: 35.67309, lng: 139.75968 } } },
],
};

export { mapboxGlAccessToken, stylePresets, maptilerApiKey, gazetteer };
80 changes: 76 additions & 4 deletions config/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,89 @@ const maptilerApiKey = '9m3Rhs1n1OMJfTblqAJR';

const stylePresets = [
{
id: 'streets',
name: 'Streets',
id: 'basic',
name: 'Basic',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/streets-v2/style.json',
url: 'https://api.maptiler.com/maps/basic-v2/style.json',
},
{
id: 'bright',
name: 'Bright',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/bright-v2/style.json',
},
{
id: 'dataviz',
name: 'Dataviz',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz/style.json',
},
{
id: 'dataviz-light',
name: 'Dataviz Light',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz-light/style.json',
},
{
id: 'dataviz-dark',
name: 'Dataviz Dark',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/dataviz-dark/style.json',
},
{
id: 'hybrid',
name: 'Hybrid Satellite',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/hybrid/style.json',
},
{
id: 'outdoor',
name: 'Outdoor',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/outdoor-v2/style.json',
},
{
id: 'satellite',
name: 'Satellite',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/satellite/style.json',
},
{
id: 'streets',
name: 'Streets',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/streets-v2/style.json',
},
{
id: 'topo',
name: 'Topo',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/topo-v2/style.json',
},
{
id: 'winter',
name: 'Winter',
type: 'maptiler-sdk',
url: 'https://api.maptiler.com/maps/winter-v2/style.json',
},
];

export { mapboxGlAccessToken, stylePresets, maptilerApiKey };
const gazetteer = {
Locations: [
{
'San Francisco, CA': {
zoom: 18,
center: { lng: -122.4193, lat: 37.7648 },
},
},
{
'Washington DC': { zoom: 12, center: { lng: -77.0435, lat: 38.9098 } },
},
{ Zurich: { zoom: 15.27, center: { lat: 47.371003, lng: 8.540005 } } },
{ Paris: { zoom: 12.52, center: { lat: 48.85888, lng: 2.34694 } } },
{ Prague: { zoom: 14.47, center: { lat: 50.08419, lng: 14.41472 } } },
{ Tokyo: { zoom: 13.79, center: { lat: 35.67309, lng: 139.75968 } } },
],
};

export { mapboxGlAccessToken, stylePresets, maptilerApiKey, gazetteer };

0 comments on commit 9a7ae15

Please sign in to comment.