Skip to content

Commit

Permalink
衣笠キャンパス
Browse files Browse the repository at this point in the history
  • Loading branch information
kochizufan committed Oct 6, 2024
1 parent 9d143ab commit 87c8cb3
Show file tree
Hide file tree
Showing 39 changed files with 164 additions and 125 deletions.
133 changes: 8 additions & 125 deletions apps/r_kinugasa.json
Original file line number Diff line number Diff line change
@@ -1,140 +1,23 @@
{
"appName": {
"ja": "Maplat ジオ展2023向けデモサイト",
"en": "Maplat Geoten 2023"
},
"splash": "geoten_splash.png",
"appName": "マップコンテスト受賞会場_立命館衣笠",
"splash": "18mapcon_ea.png",
"lang": "ja",
"fakeGps": true,
"fakeCenter": "JR八丁堀",
"fakeCenter": "衣笠キャンパス",
"fakeRadius": 10,
"homePosition": [
139.777708,
35.674717
135.72367536035452,
35.03285927635533
],
"defaultZoom": 17,
"startFrom": "keio-mita",
"startFrom": "ritsumeikan-kinugasa",
"sources": [
{
"mapID": "keio-mita",
"label": "慶應三田"
},
{
"mapID": "geoten_shiba",
"label": "明治40芝區"
},
{
"mapID": "geoten_kojimachi",
"label": "明治40麹町區"
},
{
"mapID": "geoten_akasaka",
"label": "明治40赤坂區"
},
{
"mapID": "geoten_azabu",
"label": "明治40麻布區"
},
{
"attr": {
"ja": "出典: 農研機構 農研機構農業環境研究部門",
"en": "NARO"
},
"label": {
"ja": "東京原図",
"en": "Tokyo base"
},
"title": {
"ja": "東京図測量原図",
"en": "Tokyo Survey Base Map"
},
"contributor": {
"ja": "国土地理院",
"en": "Geospatial Information Authority of Japan"
},
"createdAt": "1883-1884",
"author": {
"ja": "大日本帝国陸軍参謀本部陸地測量部",
"en": "Japan Imperial Army Map Service"
},
"mapID": "Tokyo5000-900913",
"maptype": "overlay",
"url": "https://boiledorange73.sakura.ne.jp/ws/tile/Tokyo5000-900913/{z}/{x}/{y}.jpg",
"maxZoom": 17,
"envelopeLngLats": [
[
139.6820454856718,
35.62595769911905
],
[
139.7865530745962,
35.62595769911905
],
[
139.7865530745962,
35.706161177110666
],
[
139.6820454856718,
35.706161177110666
]
]
},
{
"attr": {
"ja": "出典: 農研機構 農研機構農業環境研究部門",
"en": "NARO"
},
"label": {
"ja": "迅速測図",
"en": "Rapid Survey Map"
},
"title": {
"ja": "関東平野迅速測図",
"en": "Rapid Survey Map of Kanto Plain"
},
"contributor": {
"ja": "国土地理院",
"en": "Geospatial Information Authority of Japan"
},
"createdAt": "1880-1886",
"author": {
"ja": "大日本帝国陸軍参謀本部陸地測量部",
"en": "Japan Imperial Army Map Service"
},
"mapID": "kanto_rapid-900913",
"maptype": "overlay",
"url": "https://boiledorange73.sakura.ne.jp/ws/tile/Kanto_Rapid-900913/{z}/{x}/{y}.jpg",
"maxZoom": 17,
"envelopeLngLats": [
[
139.6820454856718,
35.62595769911905
],
[
139.7865530745962,
35.62595769911905
],
[
139.7865530745962,
35.706161177110666
],
[
139.6820454856718,
35.706161177110666
]
]
"mapID": "ritsumeikan-kinugasa",
"label": "立命館衣笠キャンパス"
},
"gsi",
"gsi_ortho",
{
"mapID": "mapbox",
"label": "Mapbox"
},
{
"mapID": "google",
"label": "Google"
},
"osm"
],
"pois": []
Expand Down
Binary file added pwa/r_kinugasa/apple-icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1125-2436.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1136-640.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1170-2532.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1242-2208.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1242-2688.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1284-2778.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1334-750.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1536-2048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1620-2160.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1668-2224.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1668-2388.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-1792-828.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2048-1536.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2048-2732.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2160-1620.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2208-1242.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2224-1668.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2388-1668.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2436-1125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2532-1170.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2688-1242.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2732-2048.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-2778-1284.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-640-1136.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pwa/r_kinugasa/apple-splash-750-1334.png
Binary file added pwa/r_kinugasa/apple-splash-828-1792.png
Binary file added pwa/r_kinugasa/favicon-196.png
Binary file added pwa/r_kinugasa/manifest-icon-192.png
Binary file added pwa/r_kinugasa/manifest-icon-512.png
Binary file added pwa/r_kinugasa/mstile-icon-128.png
Binary file added pwa/r_kinugasa/mstile-icon-270.png
Binary file added pwa/r_kinugasa/mstile-icon-558-270.png
Binary file added pwa/r_kinugasa/mstile-icon-558.png
23 changes: 23 additions & 0 deletions pwa/r_kinugasa_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "マップコンテスト受賞会場_立命館衣笠",
"short_name": "立命館衣笠",
"background_color": "#a61e32",
"icons": [
{
"src": "r_kinugasa/manifest-icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable any"
},
{
"src": "r_kinugasa/manifest-icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable any"
}
],
"start_url": "https://t.maplat.jp/r/r_kinugasamap/",
"scope": "/r/r_kinugasamap/",
"display": "standalone",
"theme_color": "#a61e32"
}
13 changes: 13 additions & 0 deletions pwa/templates/r_kinugasa/appicon.svg

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions pwa/templates/r_kinugasa/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "マップコンテスト受賞会場_立命館衣笠",
"short": "立命館衣笠",
"color": "#a61e32"
}
115 changes: 115 additions & 0 deletions r_kinugasamap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!DOCTYPE html><html><head>
<meta charset="UTF-8">
<title>マップコンテスト受賞会場_立命館衣笠</title>

<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<link rel="stylesheet" href="assets/maplat.css">
<style>
.mainview {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
}
</style>
<meta property="og:image" content="https://t.maplat.jp/r/r_kinugasamap/img/r_kinugasa_splash.png">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="https://t.maplat.jp/r/r_kinugasamap/">
<link rel="alternate" href="https://t.maplat.jp/r/r_kinugasamap/?lang=ja" hreflang="ja">
<link rel="alternate" href="https://t.maplat.jp/r/r_kinugasamap/?lang=en" hreflang="en">
<link rel="manifest" href="./pwa/r_kinugasa_manifest.json">
<meta property="og:title" content="マップコンテスト受賞会場_立命館衣笠">
<meta name="description" content="古地図/絵地図街歩きアプリMaplat:「マップコンテスト受賞会場_立命館衣笠」版">
<meta property="og:description" content="古地図/絵地図街歩きアプリMaplat:「マップコンテスト受賞会場_立命館衣笠」版">
<meta name="keywords" content="マップコンテスト受賞会場_立命館衣笠,古地図,絵地図,散歩,街歩き,観光,歴史">
<link rel="icon" type="image/png" sizes="196x196" href="pwa/r_kinugasa/favicon-196.png">

<meta name="msapplication-square70x70logo" content="pwa/r_kinugasa/mstile-icon-128.png">
<meta name="msapplication-square150x150logo" content="pwa/r_kinugasa/mstile-icon-270.png">
<meta name="msapplication-square310x310logo" content="pwa/r_kinugasa/mstile-icon-558.png">
<meta name="msapplication-wide310x150logo" content="pwa/r_kinugasa/mstile-icon-558-270.png">

<link rel="apple-touch-icon" href="pwa/r_kinugasa/apple-icon-180.png">

<meta name="apple-mobile-web-app-capable" content="yes">

<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2048-2732.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2732-2048.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1668-2388.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2388-1668.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1536-2048.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2048-1536.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1668-2224.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2224-1668.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1620-2160.png" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2160-1620.png" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1284-2778.png" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2778-1284.png" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1170-2532.png" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2532-1170.png" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1125-2436.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2436-1125.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1242-2688.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2688-1242.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-828-1792.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1792-828.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1242-2208.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-2208-1242.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-750-1334.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1334-750.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-640-1136.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)">
<link rel="apple-touch-startup-image" href="pwa/r_kinugasa/apple-splash-1136-640.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)">

</head>

<body>
<div class="mainview">
<div id="map_div"></div>
</div>

<script src="assets/maplat.js"></script>
<script>
var ip;
var option = {
appid: "r_kinugasa",
pwaManifest: true,
overlay: true,
enableHideMarker: true,
enableBorder: true,
enableMarkerList: true,
enableCache: true,
stateUrl: true,
enableShare: true,
mapboxToken: 'pk.eyJ1Ijoia29jaGl6dWZhbiIsImEiOiJjbHRnaWhzOW8wd2p4MmtvZDFsOWJiOG40In0.FYTPboTqXKv5a_onOaW1vQ',
googleApiKey: 'AIzaSyB0v_F9EVPbE7R2uOm6Mixrtzts21DEICc'
};
var hashes = (window.location.href.split('#!'))[0];
hashes = hashes.slice(window.location.href.indexOf('?') + 1).split('&');
for (var i = 0; i < hashes.length; i++) {
hash = hashes[i].split('=');
option[hash[0]] = hash[1] == 'true' ? true : hash[1] == 'false' ? false : hash[1];
}
Maplat.createObject(option).then(function (app) {
app.addEventListener('clickMarker', function (evt) {
console.log(evt);
});
});
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-104602009-1', 'auto');
ga('send', 'pageview', {
'dimension1': navigator.userAgent,
'dimension2': navigator.languages[0] || navigator.browserLanguage || navigator.language || navigator.userLanguage,
'dimension3': ip
});
</script>

</body></html>

0 comments on commit 87c8cb3

Please sign in to comment.