-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapEu.js
48 lines (35 loc) · 885 Bytes
/
mapEu.js
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
var Map = L.map('map').setView([58.0, 5.0], 3.4);
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}', {
maxZoom: 19,
attribution: 'Tiles © Esri — Esri, DeLorme, NAVTEQ'
}).addTo(Map);
var polygon1 = L.polygon([
]).addTo(Map);
var polygon1 = L.polygon([
[64.481,-26.542],
[59.456,-23.906],
[50.193,-17.402],
[44.610,-16.699],
[35.056,-24.960],
[24.078,-18.808],
[31.231,1.230],
[29.105,11.953],
[31.831,19.687],
[30.022,24.609],
[25.037,26.894],
[24.878,33.750],
[31.531,36.738],
[50.306,32.519],
[60.683,35.507],
[67.548,39.902],
[74.405,34.804],
[74.732,-8.437],
[71.750,-14.062]
],
{
color: '#10133A',
fillColor: '#10133A',
fillOpacity: 0.2,
}
).addTo(Map);
polygon1.bindPopup("EGNOS");