-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
117 lines (100 loc) · 2.81 KB
/
Copy pathpopup.html
File metadata and controls
117 lines (100 loc) · 2.81 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
width: 300px;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
margin: 0;
}
.header {
text-align: center;
margin-bottom: 16px;
}
.title {
font-size: 16px;
font-weight: 600;
color: #333;
margin: 0;
}
.coordinates {
background: #f5f5f5;
padding: 8px 12px;
border-radius: 6px;
margin-bottom: 16px;
font-family: monospace;
font-size: 13px;
text-align: center;
color: #666;
}
.no-coordinates {
text-align: center;
color: #999;
font-size: 14px;
padding: 20px;
}
.map-links {
display: flex;
flex-direction: column;
gap: 8px;
}
.map-link {
display: flex;
align-items: center;
padding: 10px 12px;
background: #fff;
border: 1px solid #ddd;
border-radius: 6px;
text-decoration: none;
color: #333;
transition: all 0.2s;
}
.map-link:hover {
background: #f8f9fa;
border-color: #007bff;
transform: translateY(-1px);
}
.map-icon {
width: 20px;
height: 20px;
margin-right: 10px;
border-radius: 3px;
}
.google { background: #4285f4; }
.osm { background: #7ebc6f; }
.bing { background: #00809d; }
.mapillary { background: #05cb63; }
.map-name {
font-weight: 500;
}
.current {
background: #e3f2fd !important;
border-color: #2196f3 !important;
}
.loading {
text-align: center;
padding: 20px;
color: #666;
}
</style>
</head>
<body>
<div class="header">
<h1 class="title">Map Coordinate Extractor</h1>
</div>
<div id="loading" class="loading">
Loading...
</div>
<div id="content" style="display: none;">
<div id="coordinates-display" class="coordinates"></div>
<div id="no-coordinates" class="no-coordinates" style="display: none;">
No coordinates found in current URL
</div>
<div id="map-links" class="map-links"></div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.8.0/proj4.js"></script>
<script src="popup.js"></script>
</body>
</html>