回答編集履歴
2
誤字の修正
test
CHANGED
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
function attachMessage(marker
|
47
|
+
function attachMessage(marker,msg) {
|
48
48
|
|
49
49
|
google.maps.event.addListener(marker, 'click', function() {
|
50
50
|
|
1
コードのミスお修正
test
CHANGED
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
function attachMessage(marker) {
|
47
|
+
function attachMessage(marker、msg) {
|
48
48
|
|
49
49
|
google.maps.event.addListener(marker, 'click', function() {
|
50
50
|
|
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
new google.maps.InfoWindow({
|
60
60
|
|
61
|
-
content:
|
61
|
+
content: msg
|
62
62
|
|
63
63
|
}).open(marker.getMap(), marker);
|
64
64
|
|