var currentInfoWindow = null; //最後に開いた情報ウィンドウを記憶 function initialize() { //地図初期化 var initPos = new google.maps.LatLng(35.696254,139.7); var myOptions = { center : initPos, zoom : 15, mapTypeId : google.maps.MapTypeId.ROADMAP }; var map_canvas = new google.maps.Map(document.getElementById("map_canvas"), myOptions); //マーカーを作成 var markerPos0 = new google.maps.LatLng(35.695944, 139.706531); var markerPos1 = new google.maps.LatLng(35.696686, 139.703324); var markerPos2 = new google.maps.LatLng(35.696517, 139.703337); var markerPos3 = new google.maps.LatLng(35.6976924,139.7028382); var markerPos4 = new google.maps.LatLng(35.6961898,139.7026605); var markerPos5 = new google.maps.LatLng(35.6965010,139.7059934); var markerPos6 = new google.maps.LatLng(35.6971953,139.7033742); var markerPos7 = new google.maps.LatLng(35.6959454,139.7026660); var markerPos8 = new google.maps.LatLng(35.6961399,139.7060490); var markerPos9 = new google.maps.LatLng(35.6977369,139.7033214); var markerPos10 = new google.maps.LatLng(35.6965842,139.7026965); var markerPos11 = new google.maps.LatLng(35.6961399,139.7060490); var markerPos12 = new google.maps.LatLng(35.6971757,139.7005968); var markerPos13 = new google.maps.LatLng(35.6974230,139.7030215); var markerPos14 = new google.maps.LatLng(35.6968759,139.7031715); var markerPos15 = new google.maps.LatLng(35.696192, 139.705543); var markerPos16 = new google.maps.LatLng(35.6961733,139.7062767); var markerPos17 = new google.maps.LatLng(35.6959537,139.7029077); var markerPos18 = new google.maps.LatLng(35.6965120,139.7033354); var markerPos19 = new google.maps.LatLng(35.6965814,139.7006190); var markerPos20 = new google.maps.LatLng(35.6959260,139.7050185); var markerPos21 = new google.maps.LatLng(35.6964788,139.7067516); var markerPos22 = new google.maps.LatLng(35.6978368,139.7024882); var markerPos23 = new google.maps.LatLng(35.6973036,139.7030076); var markerPos24 = new google.maps.LatLng(35.6967120,139.7033215); var markerPos25 = new google.maps.LatLng(35.6966647,139.7005968); var markerPos26 = new google.maps.LatLng(35.6958399,139.7028660); var markerPos27 = new google.maps.LatLng(35.6944817,139.7023550); var markerPos28 = new google.maps.LatLng(,); var markerPos29 = new google.maps.LatLng(35.695299, 139.702003); var markerPos30 = new google.maps.LatLng(35.697933, 139.704672); var markerPos31 = new google.maps.LatLng(35.696079, 139.701198); createMarker(map_canvas, markerPos0, "ホテル松月
東京都新宿区歌舞伎町2-2-6
03-3209-4800
詳細","./marker/pin_lov01.png"); createMarker(map_canvas, markerPos1, "HOTEL LaPIA -ホテルラピア-
東京都新宿区歌舞伎町2-29-2
03-5272-2471
詳細","./marker/pin_lov02.png"); createMarker(map_canvas, markerPos2, "ホテルまつき
東京都新宿区歌舞伎町2-28-11
03-3209-0248
詳細","./marker/pin_lov03.png"); createMarker(map_canvas, markerPos3, "MALTA(マルタ)
東京都新宿区歌舞伎町2-32-2
03-3200-8181
詳細","./marker/pin_lov04.png"); createMarker(map_canvas, markerPos4, "LABIO (ラビオ)
東京都新宿区歌舞伎町2-35-1
03-5515-7727
詳細","./marker/pin_lov05.png"); createMarker(map_canvas, markerPos5, "ラフランセ/パリス
東京都新宿区歌舞伎町2-6-8
03-3209-7791
詳細","./marker/pin_lov06.png"); createMarker(map_canvas, markerPos6, "ラ・モード
東京都新宿区歌舞伎町2-30-8
03-3204-5101
詳細","./marker/pin_lov07.png"); createMarker(map_canvas, markerPos7, "Hotel Listo(ホテルリスト)
東京都新宿区歌舞伎町2-36-1
03-5155-9255
詳細","./marker/pin_lov08.png"); createMarker(map_canvas, markerPos8, "リバティー
東京都新宿区歌舞伎町2-6-9
03-3200-1148
詳細","./marker/pin_lov09.png"); createMarker(map_canvas, markerPos9, "レオーニ新宿
東京都新宿区歌舞伎町2-31-6
03-3208-5556
詳細","./marker/pin_lov10.png"); createMarker(map_canvas, markerPos10, "WAKO(ワコー)
東京都新宿区歌舞伎町2-35-9
03-3200-2111
詳細","./marker/pin_lov11.png"); createMarker(map_canvas, markerPos11, "RAY ROOMS(レイルームス)
東京都新宿区歌舞伎町2-6-3
03-3200-0303
詳細","./marker/pin_lov12.png"); createMarker(map_canvas, markerPos12, "HOTEL カラフルP&A新宿
東京都新宿区歌舞伎町2-45-10
03-5155-5544
詳細","./marker/pin_lov13.png"); createMarker(map_canvas, markerPos13, "ホテル α(アルファ)
東京都新宿区歌舞伎町2-33-10
03-3200-4136
詳細","./marker/pin_lov14.png"); createMarker(map_canvas, markerPos14, "ブロンモード新宿
東京都新宿区歌舞伎町2-29-7
03-3208-6211
詳細","./marker/pin_lov15.png"); createMarker(map_canvas, markerPos15, "HOTEL THE HOTEL
東京都新宿区歌舞伎町2-12-10
03-6380-3737
詳細","./marker/pin_lov16.png"); createMarker(map_canvas, markerPos16, "ニューエレガンス
東京都新宿区歌舞伎町2-6-16
03-3200-8082
詳細","./marker/pin_lov17.png"); createMarker(map_canvas, markerPos17, "ゴールデンゲート
東京都新宿区歌舞伎町2-27-6
03-3203-3232
詳細","./marker/pin_lov18.png"); createMarker(map_canvas, markerPos18, "ラフェスタ新宿
東京都新宿区歌舞伎町2-28-11
03-3200-1022
詳細","./marker/pin_lov19.png"); createMarker(map_canvas, markerPos19, "HOTEL AZURI(ホテルアズーリ)
東京都新宿区歌舞伎町2-45-17
03-5291-5421
詳細","./marker/pin_lov20.png"); createMarker(map_canvas, markerPos20, "イマージュ
東京都新宿区歌舞伎町2-11-15
03-3209-0200
詳細","./marker/pin_lov21.png"); createMarker(map_canvas, markerPos21, "WIEN
東京都新宿区歌舞伎町2-2-12
03-3200-4810
詳細","./marker/pin_biz22.png"); createMarker(map_canvas, markerPos22, "スペック(SPEC)
東京都新宿区歌舞伎町2-41-12
03-5272-1311
詳細","./marker/pin_lov23.png"); createMarker(map_canvas, markerPos23, "大松
東京都新宿区歌舞伎町2-33-11
03-3209-5789
詳細","./marker/pin_lov24.png"); createMarker(map_canvas, markerPos24, "山城
東京都新宿区歌舞伎町2-29-2
03-3200-5541
詳細","./marker/pin_lov25.png"); createMarker(map_canvas, markerPos25, "YUKA(有香)
東京都新宿区歌舞伎町2-45-16
03-3209-4566
詳細","./marker/pin_lov26.png"); createMarker(map_canvas, markerPos26, "PASHA RESORT(パシャ リゾート)
東京都新宿区歌舞伎町2-27-4
03-3232-5201
詳細","./marker/pin_lov27.png"); createMarker(map_canvas, markerPos27, "HOTEL i(アイ)
東京都新宿区歌舞伎町1-13-4
03-3202-0332
詳細","./marker/pin_lov28.png"); createMarker(map_canvas, markerPos28, "ラブ2
東京都新宿区歌舞伎町2丁目11−4 Lee3 ビル3階
03-3203-6002
詳細","./marker/pin_ren29.png"); createMarker(map_canvas, markerPos29, "ホテルグレイスリー新宿
東京都新宿区歌舞伎町1-19-1
03-6833-2489
詳細","./marker/pin_biz30.png"); createMarker(map_canvas, markerPos30, "アパホテル〈東新宿 歌舞伎町〉
東京都新宿区歌舞伎町2-19-14
03-5155-3252
詳細","./marker/pin_biz31.png"); createMarker(map_canvas, markerPos31, "アパホテル〈新宿 歌舞伎町タワー〉
東京都新宿区歌舞伎町1丁目20-2
03-5155-3811
詳細","./marker/pin_biz32.png"); var markerPos0 = new google.maps.LatLng(35.7022085,139.7008937); var markerPos1 = new google.maps.LatLng(35.7024502,139.7019519); var markerPos2 = new google.maps.LatLng(35.700306,139.7027047); var markerPos3 = new google.maps.LatLng(35.6987673,139.7029409); var markerPos4 = new google.maps.LatLng(35.7016223,139.6966415); var markerPos5 = new google.maps.LatLng(35.6982477,139.6968055); var markerPos6 = new google.maps.LatLng(35.6982477,139.6968055); var markerPos7 = new google.maps.LatLng(35.7002836,139.6970998); var markerPos8 = new google.maps.LatLng(35.7019029,139.6994162); var markerPos9 = new google.maps.LatLng(35.699206,139.6998745); var markerPos10 = new google.maps.LatLng(35.700492,139.7010744); var markerPos11 = new google.maps.LatLng(35.7005809,139.700766); var markerPos12 = new google.maps.LatLng(35.7005809,139.700766); createMarker(map_canvas, markerPos0, "コインパーク 百人町2丁目
東京都新宿区百人町2丁目3番地
","./marker/icon_p.png"); createMarker(map_canvas, markerPos1, "百人町パーキング
東京都新宿区百人町2丁目1
","./marker/icon_p.png"); createMarker(map_canvas, markerPos2, "大栄パーク新大久保
東京都新宿区大久保1丁目16
","./marker/icon_p.png"); createMarker(map_canvas, markerPos3, "タイムズ大久保第6
東京都新宿区大久保1-12
","./marker/icon_p.png"); createMarker(map_canvas, markerPos4, "シティパーク大久保第13
東京都新宿区百人町1丁目1 ニッポンレンタカー内
","./marker/icon_p.png"); createMarker(map_canvas, markerPos5, "パークNET北新宿1丁目駐車場
東京都新宿区北新宿1丁目1-1
","./marker/icon_p.png"); createMarker(map_canvas, markerPos6, "日本ビルパーキング
東京都新宿区北新宿1丁目1
","./marker/icon_p.png"); createMarker(map_canvas, markerPos7, "パークジャパン百人町駐車場
東京都新宿区百人町1丁目22番地
","./marker/icon_p.png"); createMarker(map_canvas, markerPos8, "シティパーク大久保第16
東京都新宿区百人町2丁目10-6
","./marker/icon_p.png"); createMarker(map_canvas, markerPos9, "モーリスe-PARK新大久保第1
東京都新宿区百人町1丁目9
","./marker/icon_p.png"); createMarker(map_canvas, markerPos10, "リパークワイド百人町1丁目第2
東京都新宿区百人町1丁目6-9
","./marker/icon_p.png"); createMarker(map_canvas, markerPos11, "ピットイン新大久保駐車場
東京都新宿区百人町1丁目7
","./marker/icon_p.png"); createMarker(map_canvas, markerPos12, "五明パーク新大久保
東京都新宿区百人町1丁目7-18
","./marker/icon_p.png"); } function createMarker(map, latlng, text, icon) { var infoWndOpts = { content : text }; var infoWnd = new google.maps.InfoWindow(infoWndOpts); var image = icon; var markerOpts = { position : latlng, map : map, icon : image }; var marker = new google.maps.Marker(markerOpts); google.maps.event.addListener(marker, "click", function(){ //先に開いた情報ウィンドウがあれば、closeする if (currentInfoWindow) { currentInfoWindow.close(); } //情報ウィンドウを開く infoWnd.open(map, marker); currentInfoWindow = infoWnd; }); return marker; }