Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Sakanoshita committed Oct 26, 2023
1 parent 00b1de6 commit ba50b19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gridjs/5.1.0/theme/mermaid.min.css" integrity="sha512-o3Eqr2EQZYsD315n6oAELEN5z64Rk64I24ACsbdLmDznd7UM2kcf6WS0bFsEVOTibLxZKEVe4zmVftLd4oBA3g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridjs@6.0.6/dist/theme/mermaid.min.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/maplibre-gl.css" />
<link rel="stylesheet" href="base.css" />
<script defer src="https://unpkg.com/[email protected]/dist/maplibre-gl.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/gridjs/5.1.0/gridjs.production.min.js" integrity="sha512-g4JS4qw2vMOoll9HsaHa4pSbXW4d2WBSe5xqDfq8QrJq8HB0AU3wib4DwP1tqIgIxgORr+Fn9AHEZVTXhT4Yng==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script defer src="https://cdn.jsdelivr.net/npm/gridjs@6.0.6/dist/gridjs.production.min.js"></script>
<script defer src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
<script defer src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/moment.min.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions lib/listtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ class ListTable {
this.select(actid);
poiMarker.select(actid, true).then(() => {
console.log("listTable: rowClick OK");
}).catch(() => {
console.log("listTable: rowClick NG");
}).then(() => { this.lock = false });
}) //.catch(() => {
// console.log("listTable: rowClick NG");
.then(() => { this.lock = false });
} catch (error) {
winCont.spinner(false);
this.lock = false;
Expand Down
2 changes: 1 addition & 1 deletion lib/poilib.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class PoiMarker {
let poi = poiCont.get_osmid(poiid);
if (poi == undefined) {
let act = poiCont.get_actid(poiid);
if (act !== undefined) poi = poiCont.get_osmid(poi.osmid);
if (act !== undefined) poi = poiCont.get_osmid(act.osmid);
}
if(poi !== undefined){ // Poiが見つかった場合
mapLibre.flyTo(poi.lnglat, zoomlv);
Expand Down

0 comments on commit ba50b19

Please sign in to comment.