diff --git a/index2.html b/index2.html
index 6947f0b..efc2582 100755
--- a/index2.html
+++ b/index2.html
@@ -69,11 +69,12 @@
+
「'task-bldg'」にて「作業登録」を行ってからOpenStreetMapへの編集を開始してください。
+
+
+
diff --git a/index2.js b/index2.js
index 85e7dad..0ef8f1e 100755
--- a/index2.js
+++ b/index2.js
@@ -59,6 +59,9 @@
}
});
+ var task2 = document.getElementById("task2");
+ task2.innerHTML = "task-bldg : "+ name +"";
+
__map = new ol.Map({
target: 'map',
layers: [
@@ -101,19 +104,14 @@
if (feature.information.properties != null) {
var prop = feature.information.properties;
table2str += "";
- if (prop.id == null) {
- table2str += " | ";
- }
- else {
- table2str += "" + prop.id +" | ";
- }
- table2str += "" + prop.path + " | ";
- table2str = table2str + "" + prop.version+ " | ";
- table2str = table2str + "" + prop.surveyYear+ " | ";
- table2str = table2str + "
";
- }
- feature.setStyle(style);
- __markerLayer.getSource().addFeature(feature);
+ table2str += "" + prop.id +" | ";
+ table2str += "" + prop.path + " | ";
+ table2str += "" + prop.version+ " | ";
+ table2str += "" + prop.surveyYear+ " | ";
+ table2str += "";
+ }
+ feature.setStyle(style);
+ __markerLayer.getSource().addFeature(feature);
}
if (this.geometry.type == "LineString") {
drawPolygon([this.geometry.coordinates]);
@@ -138,7 +136,7 @@
var descriptionHTML =
"code: " + info.properties.id + "
" +
"version: " + info.properties.version + "
" +
- "";
+ "";
element.innerHTML = descriptionHTML;
__overlay.setPosition(coordinates);
__map.addOverlay(__overlay);