-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
372 lines (372 loc) · 16.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!DOCTYPE html>
<html>
<head>
<title>REG.RU Map</title>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100%; }
body { height: 100%; margin: 0; padding: 0; }
#map_canvas { height: 100%; }
.logo { position: absolute; top: 10px; left: 90px; }
.popup { }
</style>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyByreUWkRM-o6B05Qw_8IOJ3sq2LjcWP_I&sensor=false">
</script>
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(56.835069, 60.647785),
zoom: 4,
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: [
{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{
"hue": "#F1FF00"
},
{
"saturation": -27.4
},
{
"lightness": 9.4
},
{
"gamma": 1
}
]
},
{
"featureType": "road.highway",
"elementType": "all",
"stylers": [
{
"hue": "#0099FF"
},
{
"saturation": -20
},
{
"lightness": 36.4
},
{
"gamma": 1
}
]
},
{
"featureType": "road.arterial",
"elementType": "all",
"stylers": [
{
"hue": "#00FF4F"
},
{
"saturation": 0
},
{
"lightness": 0
},
{
"gamma": 1
}
]
},
{
"featureType": "road.local",
"elementType": "all",
"stylers": [
{
"hue": "#FFB300"
},
{
"saturation": -38
},
{
"lightness": 11.2
},
{
"gamma": 1
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"hue": "#00B6FF"
},
{
"saturation": 4.2
},
{
"lightness": -63.4
},
{
"gamma": 1
}
]
},
{
"featureType": "poi",
"elementType": "all",
"stylers": [
{
"hue": "#9FFF00"
},
{
"saturation": 0
},
{
"lightness": 0
},
{
"gamma": 1
}
]
}
]
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
mapOptions);
var icon_building = 'office-building.png';
var offices = {
moscow: new google.maps.Marker({
position: new google.maps.LatLng(55.762412, 37.551874),
icon: icon_building,
title: "Москва"}),
piter: new google.maps.Marker({
position: new google.maps.LatLng(59.967978, 30.338026),
icon: icon_building,
title: "Санкт-Петербург"}),
astrahan: new google.maps.Marker({
position: new google.maps.LatLng(46.359564, 48.066607),
icon: icon_building,
title: "Астрахань"}),
belgorod: new google.maps.Marker({
position: new google.maps.LatLng(50.601411, 36.602832),
icon: icon_building,
title: "Белгород"}),
bryansk: new google.maps.Marker({
position: new google.maps.LatLng(53.312491, 34.289422),
icon: icon_building,
title: "Брянск"}),
vladimir: new google.maps.Marker({
position: new google.maps.LatLng(56.137812, 40.404329),
icon: icon_building,
title: "Владимир"}),
voronezh: new google.maps.Marker({
position: new google.maps.LatLng(56.137812, 40.404329),
icon: icon_building,
title: "Воронеж"}),
grozny: new google.maps.Marker({
position: new google.maps.LatLng(43.321168, 45.684849),
icon: icon_building,
title: "Грозный"}),
ekaterinburg: new google.maps.Marker({
position: new google.maps.LatLng(56.835069, 60.647785),
icon: icon_building,
title: "Екатеринбург"}),
kazan: new google.maps.Marker({
position: new google.maps.LatLng(55.797693, 49.06782),
icon: icon_building,
title: "Казань"}),
kaliningrad: new google.maps.Marker({
position: new google.maps.LatLng(54.724111, 20.467903),
icon: icon_building,
title: "Калининград"}),
krasnoyarsk: new google.maps.Marker({
position: new google.maps.LatLng(56.010715, 92.87843),
icon: icon_building,
title: "Красноярск"}),
kursk: new google.maps.Marker({
position: new google.maps.LatLng(51.769358, 36.173486),
icon: icon_building,
title: "Курск"}),
lipetsk: new google.maps.Marker({
position: new google.maps.LatLng(52.594017, 39.56217),
icon: icon_building,
title: "Липецк"}),
mahachkala: new google.maps.Marker({
position: new google.maps.LatLng(42.949103, 47.520329),
icon: icon_building,
title: "Махачкала"}),
novosibirsk: new google.maps.Marker({
position: new google.maps.LatLng(55.046781, 82.916755),
icon: icon_building,
title: "Новосибирск"}),
orel: new google.maps.Marker({
position: new google.maps.LatLng(52.979849, 36.075255),
icon: icon_building,
title: "Орёл"}),
orenburg: new google.maps.Marker({
position: new google.maps.LatLng(51.774012, 55.131358),
icon: icon_building,
title: "Оренбург"}),
perm: new google.maps.Marker({
position: new google.maps.LatLng(58.015669, 56.239838),
icon: icon_building,
title: "Пермь"}),
rostov: new google.maps.Marker({
position: new google.maps.LatLng(47.27936, 39.705823),
icon: icon_building,
title: "Ростов"}),
ryazan: new google.maps.Marker({
position: new google.maps.LatLng(54.631779, 39.749041),
icon: icon_building,
title: "Рязань"}),
samara: new google.maps.Marker({
position: new google.maps.LatLng(53.225935, 50.177729),
icon: icon_building,
title: "Самара"}),
oskol: new google.maps.Marker({
position: new google.maps.LatLng(51.311423, 37.909167),
icon: icon_building,
title: "Старый Оскол"}),
surgut: new google.maps.Marker({
position: new google.maps.LatLng(61.259989, 73.403617),
icon: icon_building,
title: "Сургут"}),
tula: new google.maps.Marker({
position: new google.maps.LatLng(54.196038, 37.612394),
icon: icon_building,
title: "Тула"}),
tyumen: new google.maps.Marker({
position: new google.maps.LatLng(57.150724, 65.583995),
icon: icon_building,
title: "Тюмень"}),
ufa: new google.maps.Marker({
position: new google.maps.LatLng(54.785214, 56.034652),
icon: icon_building,
title: "Уфа"}),
habarovsk: new google.maps.Marker({
position: new google.maps.LatLng(48.469488, 135.074478),
icon: icon_building,
title: "Хабаровск"}),
chelyabinsk: new google.maps.Marker({
position: new google.maps.LatLng(55.144624, 61.380749),
icon: icon_building,
title: "Челябинск"}),
kiev: new google.maps.Marker({
position: new google.maps.LatLng(50.437501, 30.520309),
icon: icon_building,
title: "Киев"}),
kishinev: new google.maps.Marker({
position: new google.maps.LatLng(47.016617, 28.842126),
icon: icon_building,
title: "Кишинёв"})
};
var addresses = {
moscow: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Москва, ул. 2-я Звенигородская, д. 13, строение 43, офис 326.<br/>Вход и въезд со стороны ул. Сергея Макеева.</div>'
}),
piter: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Санкт-Петербург, Выборгская наб., 29, офис 512.</div>'
}),
astrahan: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Астрахань, ул. Минусинская, д. 8а, центр «БОШ», 2 этаж, компьютерный центр «КОТ»</div>'
}),
belgorod: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Белгород, ул. Белгородского полка, дом 65</div>'
}),
bryansk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Брянск, ул. Ульянова, д. 103, офис 9, третий этаж</div>'
}),
vladimir: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Владимир, ул. Зелёная, д. 1а, офис 3.01.</div>'
}),
voronezh: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Воронеж, ул. Куколкина, дом 9, офис 403, OOO «Корпорация Usoft»</div>'
}),
grozny: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Грозный, пр. В. Путина, д. 16</div>'
}),
ekaterinburg: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Екатеринбург, улица Гагарина, дом 28/10, проходная завода "Вектор" со стороны Гагарина, цех №5, 5 этаж, офис 504.</div>'
}),
kazan: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Казань, ул. Большая, дом 2.</div>'
}),
kaliningrad: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Калининград, улица Каменная, дом 17, офис 2.</div>'
}),
krasnoyarsk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Красноярск, ул. Сурикова, дом 12, офис 5-08.</div>'
}),
kursk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Калининград, улица Каменная, дом 17, офис 2.</div>'
}),
lipetsk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Липецк, пр. Победы, д. 74</div>'
}),
mahachkala: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Махачкала, улица Гагарина, дом 131.</div>'
}),
novosibirsk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Новосибирск, Красный проспект, д. 82, оф. 151 (2 этаж).</div>'
}),
orel: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Орёл, ул. 60 лет Октября, д. 14</div>'
}),
orenburg: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Оренбург, улица Туркестанская, дом 88/а.</div>'
}),
perm: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Пермь, улица Газеты «Звезда» дом 5, офис 222</div>'
}),
rostov: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Ростов-на-Дону, ул. Борко, д. 2.</div>'
}),
ryazan: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Рязань, ул. Новослободская, дом 9</div>'
}),
samara: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Самара, ул. Академика Павлова, д. 35, 4 этаж, офис 21.</div>'
}),
oskol: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Старый Оскол, м-н Восточный, дом 2А</div>'
}),
surgut: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Сургут, пр-т Мира 33/1, офис 306</div>'
}),
tula: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Тула, ул. Советская, д. 17Б</div>'
}),
tyumen: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г.Тюмень, ул. Минская, дом 9б, офис 508</div>'
}),
ufa: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Уфа, Проспект Октября, дом 152, офис 75.</div>'
}),
habarovsk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Хабаровск, ул. Гамарника, д. 15, оф 17.</div>'
}),
chelyabinsk: new google.maps.InfoWindow({
content: '<div class="popup">Россия, г. Челябинск, ул. Воровского, д. 61-б, офис 15.</div>'
}),
kiev: new google.maps.InfoWindow({
content: '<div class="popup">Украина, г. Киев, улица Эспланадная, дом 20, офис 516.</div>'
}),
kishinev: new google.maps.InfoWindow({
content: '<div class="popup">Republica Moldova, Chisinau, str. Tighina 49/4, et. 2.</div>'
})
};
for (office in offices) {
offices[office].setMap(map);
var address = (function(a) {
return google.maps.event.addListener(offices[a], 'click', function() {
addresses[a].open(map, offices[a]);
});
})(office);
}
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
<a href="https://www.reg.ru/"><img class="logo" src="regru.png" alt="REG.RU" /></a>
</body>
</html>