diff --git a/pom.xml b/pom.xml index 15d774d..fa33135 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ osm.surveyor.plateau task-bldg - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT war task-bldg TaskingManager for Plateau BLDG diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 08d7896..cda1de0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,3 +1,5 @@ +server.port=8083 + # i18n spring.messages.fallback-to-system-locale=false spring.messages.basename=i18n/messages diff --git a/src/main/resources/static/custom/cities.js b/src/main/resources/static/custom/cities.js index 9d0b816..6953914 100644 --- a/src/main/resources/static/custom/cities.js +++ b/src/main/resources/static/custom/cities.js @@ -41,12 +41,12 @@ }); $.when( - $.getJSON("/city/index.json") + $.getJSON("./city/index.json") ).done(function(data) { site = data.site; style = new ol.style.Style({ image: new ol.style.Icon({ - src: '/img/osm_200x200.png', + src: './img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }), diff --git a/src/main/resources/static/custom/meshes.js b/src/main/resources/static/custom/meshes.js index bb61e02..196bc09 100644 --- a/src/main/resources/static/custom/meshes.js +++ b/src/main/resources/static/custom/meshes.js @@ -21,12 +21,12 @@ function loadMap() { $.when( // マップ表示のための中心位置を読み取る - $.getJSON("/city/index.json") + $.getJSON("./city/index.json") ).done(function(data1) { site = data1.site; style = new ol.style.Style({ image: new ol.style.Icon({ - src: '/img/osm_200x200.png', + src: './img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }), diff --git a/src/main/resources/static/custom/tasks.js b/src/main/resources/static/custom/tasks.js index 95ad478..4404706 100644 --- a/src/main/resources/static/custom/tasks.js +++ b/src/main/resources/static/custom/tasks.js @@ -33,7 +33,7 @@ // 'citycode'に対応するデータを読む var lonlat = [139.7637,35.6808]; $.when( - $.getJSON("/city/index.json") + $.getJSON("./city/index.json") ).done(function(data1) { site = data1.site; $(data1.list).each(function() { @@ -121,7 +121,7 @@ featurePoint.information = this; featurePoint.setStyle(new ol.style.Style({ image: new ol.style.Icon({ - src: '/img/osm_200x200.png', + src: './img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }),