Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
taisukef committed Feb 9, 2019
1 parent b3eae56 commit 85bd54f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion map6.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
map.panTo([ 35.943560,136.188917 ]) // 鯖江駅
map.addIcon(35.944571, 136.186228 , "Hana道場", "icon/hanadojo.png", 64)

var current = map.addIcon(0, 0, "現在地", "icon-walking.png", 64, 64)
var current = map.addIcon(0, 0, "現在地", "icon/walking.png", 64, 64)
navigator.geolocation.watchPosition(function(gpos) {
const pos = [ gpos.coords.latitude, gpos.coords.longitude ]
current.setLatLng(pos)
Expand Down
1 change: 0 additions & 1 deletion map7.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
var firstflg = true

var current = map.addIcon(0, 0, "現在地", "icon/walking.png", 64, 64)

navigator.geolocation.watchPosition(function(gpos) {
// 位置情報取得に成功したとき
const pos = [ gpos.coords.latitude, gpos.coords.longitude ]
Expand Down

0 comments on commit 85bd54f

Please sign in to comment.