node-red-contrib-web-worldmap 2.40.0 → 2.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/README.md +3 -1
- package/node_modules/faye-websocket/CHANGELOG.md +139 -0
- package/node_modules/path-to-regexp/History.md +36 -0
- package/node_modules/websocket-driver/CHANGELOG.md +142 -0
- package/node_modules/websocket-driver/node_modules/http-parser-js/CHANGELOG.md +14 -0
- package/node_modules/websocket-extensions/CHANGELOG.md +28 -0
- package/package.json +1 -1
- package/worldmap/leaflet/leaflet.css +64 -50
- package/worldmap/leaflet/leaflet.js +3 -3
- package/worldmap/leaflet/leaflet.js.map +1 -1
- package/worldmap/leaflet/sockjs.min.js +3 -3
- package/worldmap/worldmap.js +33 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v2.41.0 - Bump leaflet libs to latest stable (1.9.4)
|
|
4
|
+
- v2.40.1 - Fix missing countries overlay when starting disconnected.
|
|
3
5
|
- v2.40.0 - Add handling for TAK event points from TAK ingest node.
|
|
4
6
|
- v2.39.0 - Add client timezone to connect message. PR #245
|
|
5
7
|
- v2.38.3 - Better fix for geojson multipoint icons.
|
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ Feel free to [
|
|
17
|
+
- v2.40.1 - Fix missing countries overlay when starting disconnected.
|
|
16
18
|
- v2.40.0 - Add handling for TAK event points from TAK ingest node.
|
|
17
19
|
- v2.39.0 - Add client timezone to connect message. PR #245
|
|
18
20
|
- v2.38.3 - Better fix for geojson multipoint icons.
|
|
@@ -510,7 +512,7 @@ To remove set the legend to an empty string `""`.
|
|
|
510
512
|
|
|
511
513
|
The layer will be called `name`. By default it expects a leaflet Tilelayer style url. You can also use a WMS
|
|
512
514
|
style server by adding a property `wms: true`. You can also set `wms: "grey"` to set the layer to greyscale which
|
|
513
|
-
may let
|
|
515
|
+
may let your markers be more visible. (see overlay example below).
|
|
514
516
|
|
|
515
517
|
msg.payload.command.map = {
|
|
516
518
|
"name":"OSMhot", // use "overlay":"MyOverlayName" for an overlay rather than a base layer.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
### 0.11.4 / 2021-05-24
|
|
2
|
+
|
|
3
|
+
- Prevent the client hanging if `close()` is called when already closing
|
|
4
|
+
|
|
5
|
+
### 0.11.3 / 2019-06-10
|
|
6
|
+
|
|
7
|
+
- Fix a race condition that caused a timeout not to be cancelled immediately
|
|
8
|
+
when the WebSocket is closed
|
|
9
|
+
- Change license from MIT to Apache 2.0
|
|
10
|
+
|
|
11
|
+
### 0.11.2 / 2019-06-10
|
|
12
|
+
|
|
13
|
+
(This version was pulled due to an error when publishing)
|
|
14
|
+
|
|
15
|
+
### 0.11.1 / 2017-01-22
|
|
16
|
+
|
|
17
|
+
- Forcibly close the I/O stream after a timeout if the peer does not respond
|
|
18
|
+
after calling `close()`
|
|
19
|
+
|
|
20
|
+
### 0.11.0 / 2016-02-24
|
|
21
|
+
|
|
22
|
+
- Introduce a `net` option to the `Client` class for setting things like, say,
|
|
23
|
+
`servername`
|
|
24
|
+
|
|
25
|
+
### 0.10.0 / 2015-07-08
|
|
26
|
+
|
|
27
|
+
- Add the standard `code` and `reason` parameters to the `close` method
|
|
28
|
+
|
|
29
|
+
### 0.9.4 / 2015-03-08
|
|
30
|
+
|
|
31
|
+
- Don't send input to the driver before `start()` is called
|
|
32
|
+
|
|
33
|
+
### 0.9.3 / 2015-02-19
|
|
34
|
+
|
|
35
|
+
- Make sure the TCP socket is not left open when closing the connection
|
|
36
|
+
|
|
37
|
+
### 0.9.2 / 2014-12-21
|
|
38
|
+
|
|
39
|
+
- Only emit `error` once, and don't emit it after `close`
|
|
40
|
+
|
|
41
|
+
### 0.9.1 / 2014-12-18
|
|
42
|
+
|
|
43
|
+
- Check that all options to the WebSocket constructor are recognized
|
|
44
|
+
|
|
45
|
+
### 0.9.0 / 2014-12-13
|
|
46
|
+
|
|
47
|
+
- Allow protocol extensions to be passed into websocket-extensions
|
|
48
|
+
|
|
49
|
+
### 0.8.1 / 2014-11-12
|
|
50
|
+
|
|
51
|
+
- Send the correct hostname when upgrading a connection to TLS
|
|
52
|
+
|
|
53
|
+
### 0.8.0 / 2014-11-08
|
|
54
|
+
|
|
55
|
+
- Support connections via HTTP proxies
|
|
56
|
+
- Close the connection cleanly if we're still waiting for a handshake response
|
|
57
|
+
|
|
58
|
+
### 0.7.3 / 2014-10-04
|
|
59
|
+
|
|
60
|
+
- Allow sockets to be closed when they are in any state other than `CLOSED`
|
|
61
|
+
|
|
62
|
+
### 0.7.2 / 2013-12-29
|
|
63
|
+
|
|
64
|
+
- Make sure the `close` event is emitted by clients on Node v0.10
|
|
65
|
+
|
|
66
|
+
### 0.7.1 / 2013-12-03
|
|
67
|
+
|
|
68
|
+
- Support the `maxLength` websocket-driver option
|
|
69
|
+
- Make the client emit `error` events on network errors
|
|
70
|
+
|
|
71
|
+
### 0.7.0 / 2013-09-09
|
|
72
|
+
|
|
73
|
+
- Allow the server to send custom headers with EventSource responses
|
|
74
|
+
|
|
75
|
+
### 0.6.1 / 2013-07-05
|
|
76
|
+
|
|
77
|
+
- Add `ca` option to the client for specifying certificate authorities
|
|
78
|
+
- Start the server driver asynchronously so that `onopen` handlers can be added
|
|
79
|
+
|
|
80
|
+
### 0.6.0 / 2013-05-12
|
|
81
|
+
|
|
82
|
+
- Add support for custom headers
|
|
83
|
+
|
|
84
|
+
### 0.5.0 / 2013-05-05
|
|
85
|
+
|
|
86
|
+
- Extract the protocol handlers into the `websocket-driver` library
|
|
87
|
+
- Support the Node streaming API
|
|
88
|
+
|
|
89
|
+
### 0.4.4 / 2013-02-14
|
|
90
|
+
|
|
91
|
+
- Emit the `close` event if TCP is closed before CLOSE frame is acked
|
|
92
|
+
|
|
93
|
+
### 0.4.3 / 2012-07-09
|
|
94
|
+
|
|
95
|
+
- Add `Connection: close` to EventSource response
|
|
96
|
+
- Handle situations where `request.socket` is undefined
|
|
97
|
+
|
|
98
|
+
### 0.4.2 / 2012-04-06
|
|
99
|
+
|
|
100
|
+
- Add WebSocket error code `1011`.
|
|
101
|
+
- Handle URLs with no path correctly by sending `GET /`
|
|
102
|
+
|
|
103
|
+
### 0.4.1 / 2012-02-26
|
|
104
|
+
|
|
105
|
+
- Treat anything other than a `Buffer` as a string when calling `send()`
|
|
106
|
+
|
|
107
|
+
### 0.4.0 / 2012-02-13
|
|
108
|
+
|
|
109
|
+
- Add `ping()` method to server-side `WebSocket` and `EventSource`
|
|
110
|
+
- Buffer `send()` calls until the draft-76 handshake is complete
|
|
111
|
+
- Fix HTTPS problems on Node 0.7
|
|
112
|
+
|
|
113
|
+
### 0.3.1 / 2012-01-16
|
|
114
|
+
|
|
115
|
+
- Call `setNoDelay(true)` on `net.Socket` objects to reduce latency
|
|
116
|
+
|
|
117
|
+
### 0.3.0 / 2012-01-13
|
|
118
|
+
|
|
119
|
+
- Add support for `EventSource` connections
|
|
120
|
+
|
|
121
|
+
### 0.2.0 / 2011-12-21
|
|
122
|
+
|
|
123
|
+
- Add support for `Sec-WebSocket-Protocol` negotiation
|
|
124
|
+
- Support `hixie-76` close frames and 75/76 ignored segments
|
|
125
|
+
- Improve performance of HyBi parsing/framing functions
|
|
126
|
+
- Decouple parsers from TCP and reduce write volume
|
|
127
|
+
|
|
128
|
+
### 0.1.2 / 2011-12-05
|
|
129
|
+
|
|
130
|
+
- Detect closed sockets on the server side when TCP connection breaks
|
|
131
|
+
- Make `hixie-76` sockets work through HAProxy
|
|
132
|
+
|
|
133
|
+
### 0.1.1 / 2011-11-30
|
|
134
|
+
|
|
135
|
+
- Fix `addEventListener()` interface methods
|
|
136
|
+
|
|
137
|
+
### 0.1.0 / 2011-11-27
|
|
138
|
+
|
|
139
|
+
- Initial release, based on WebSocket components from Faye
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
0.1.7 / 2015-07-28
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
* Fixed regression with escaped round brackets and matching groups.
|
|
5
|
+
|
|
6
|
+
0.1.6 / 2015-06-19
|
|
7
|
+
==================
|
|
8
|
+
|
|
9
|
+
* Replace `index` feature by outputting all parameters, unnamed and named.
|
|
10
|
+
|
|
11
|
+
0.1.5 / 2015-05-08
|
|
12
|
+
==================
|
|
13
|
+
|
|
14
|
+
* Add an index property for position in match result.
|
|
15
|
+
|
|
16
|
+
0.1.4 / 2015-03-05
|
|
17
|
+
==================
|
|
18
|
+
|
|
19
|
+
* Add license information
|
|
20
|
+
|
|
21
|
+
0.1.3 / 2014-07-06
|
|
22
|
+
==================
|
|
23
|
+
|
|
24
|
+
* Better array support
|
|
25
|
+
* Improved support for trailing slash in non-ending mode
|
|
26
|
+
|
|
27
|
+
0.1.0 / 2014-03-06
|
|
28
|
+
==================
|
|
29
|
+
|
|
30
|
+
* add options.end
|
|
31
|
+
|
|
32
|
+
0.0.2 / 2013-02-10
|
|
33
|
+
==================
|
|
34
|
+
|
|
35
|
+
* Update to match current express
|
|
36
|
+
* add .license property to component.json
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
### 0.7.4 / 2020-05-22
|
|
2
|
+
|
|
3
|
+
- Avoid crashing if `process.version` does not contain any digits
|
|
4
|
+
- Emit `ping` and `pong` events from the `Server` driver
|
|
5
|
+
- Require http-parser-js >=0.5.1 which fixes the bug we addressed in 0.7.3
|
|
6
|
+
|
|
7
|
+
### 0.7.3 / 2019-06-13
|
|
8
|
+
|
|
9
|
+
- Cap version of http-parser-js below 0.4.11, which introduced a bug that
|
|
10
|
+
prevents us from handling messages that are part of the same input buffer as
|
|
11
|
+
the handshake response if chunked encoding is specified
|
|
12
|
+
|
|
13
|
+
### 0.7.2 / 2019-06-13
|
|
14
|
+
|
|
15
|
+
(This version was pulled due to an error when publishing)
|
|
16
|
+
|
|
17
|
+
### 0.7.1 / 2019-06-10
|
|
18
|
+
|
|
19
|
+
- Catch any exceptions produced while generating a handshake response and send a
|
|
20
|
+
`400 Bad Request` response to the client
|
|
21
|
+
- Pick the RFC-6455 protocol version if the request contains any of the headers
|
|
22
|
+
used by that version
|
|
23
|
+
- Use the `Buffer.alloc()` and `Buffer.from()` functions instead of the unsafe
|
|
24
|
+
`Buffer()` constructor
|
|
25
|
+
- Handle errors encountered while handling malformed draft-76 requests
|
|
26
|
+
- Change license from MIT to Apache 2.0
|
|
27
|
+
|
|
28
|
+
### 0.7.0 / 2017-09-11
|
|
29
|
+
|
|
30
|
+
- Add `ping` and `pong` to the set of events users can listen to
|
|
31
|
+
- Replace the bindings to Node's HTTP parser with `http-parser-js`
|
|
32
|
+
|
|
33
|
+
### 0.6.5 / 2016-05-20
|
|
34
|
+
|
|
35
|
+
- Don't mutate buffers passed in by the application when masking
|
|
36
|
+
|
|
37
|
+
### 0.6.4 / 2016-01-07
|
|
38
|
+
|
|
39
|
+
- If a number is given as input for a frame payload, send it as a string
|
|
40
|
+
|
|
41
|
+
### 0.6.3 / 2015-11-06
|
|
42
|
+
|
|
43
|
+
- Reject draft-76 handshakes if their Sec-WebSocket-Key headers are invalid
|
|
44
|
+
- Throw a more helpful error if a client is created with an invalid URL
|
|
45
|
+
|
|
46
|
+
### 0.6.2 / 2015-07-18
|
|
47
|
+
|
|
48
|
+
- When the peer sends a close frame with no error code, emit 1000
|
|
49
|
+
|
|
50
|
+
### 0.6.1 / 2015-07-13
|
|
51
|
+
|
|
52
|
+
- Use the `buffer.{read,write}UInt{16,32}BE` methods for reading/writing numbers
|
|
53
|
+
to buffers rather than including duplicate logic for this
|
|
54
|
+
|
|
55
|
+
### 0.6.0 / 2015-07-08
|
|
56
|
+
|
|
57
|
+
- Allow the parser to recover cleanly if event listeners raise an error
|
|
58
|
+
- Add a `pong` method for sending unsolicited pong frames
|
|
59
|
+
|
|
60
|
+
### 0.5.4 / 2015-03-29
|
|
61
|
+
|
|
62
|
+
- Don't emit extra close frames if we receive a close frame after we already
|
|
63
|
+
sent one
|
|
64
|
+
- Fail the connection when the driver receives an invalid
|
|
65
|
+
`Sec-WebSocket-Extensions` header
|
|
66
|
+
|
|
67
|
+
### 0.5.3 / 2015-02-22
|
|
68
|
+
|
|
69
|
+
- Don't treat incoming data as WebSocket frames if a client driver is closed
|
|
70
|
+
before receiving the server handshake
|
|
71
|
+
|
|
72
|
+
### 0.5.2 / 2015-02-19
|
|
73
|
+
|
|
74
|
+
- Fix compatibility with the HTTP parser on io.js
|
|
75
|
+
- Use `websocket-extensions` to make sure messages and close frames are kept in
|
|
76
|
+
order
|
|
77
|
+
- Don't emit multiple `error` events
|
|
78
|
+
|
|
79
|
+
### 0.5.1 / 2014-12-18
|
|
80
|
+
|
|
81
|
+
- Don't allow drivers to be created with unrecognized options
|
|
82
|
+
|
|
83
|
+
### 0.5.0 / 2014-12-13
|
|
84
|
+
|
|
85
|
+
- Support protocol extensions via the websocket-extensions module
|
|
86
|
+
|
|
87
|
+
### 0.4.0 / 2014-11-08
|
|
88
|
+
|
|
89
|
+
- Support connection via HTTP proxies using `CONNECT`
|
|
90
|
+
|
|
91
|
+
### 0.3.6 / 2014-10-04
|
|
92
|
+
|
|
93
|
+
- It is now possible to call `close()` before `start()` and close the driver
|
|
94
|
+
|
|
95
|
+
### 0.3.5 / 2014-07-06
|
|
96
|
+
|
|
97
|
+
- Don't hold references to frame buffers after a message has been emitted
|
|
98
|
+
- Make sure that `protocol` and `version` are exposed properly by the TCP driver
|
|
99
|
+
|
|
100
|
+
### 0.3.4 / 2014-05-08
|
|
101
|
+
|
|
102
|
+
- Don't hold memory-leaking references to I/O buffers after they have been
|
|
103
|
+
parsed
|
|
104
|
+
|
|
105
|
+
### 0.3.3 / 2014-04-24
|
|
106
|
+
|
|
107
|
+
- Correct the draft-76 status line reason phrase
|
|
108
|
+
|
|
109
|
+
### 0.3.2 / 2013-12-29
|
|
110
|
+
|
|
111
|
+
- Expand `maxLength` to cover sequences of continuation frames and
|
|
112
|
+
`draft-{75,76}`
|
|
113
|
+
- Decrease default maximum frame buffer size to 64MB
|
|
114
|
+
- Stop parsing when the protocol enters a failure mode, to save CPU cycles
|
|
115
|
+
|
|
116
|
+
### 0.3.1 / 2013-12-03
|
|
117
|
+
|
|
118
|
+
- Add a `maxLength` option to limit allowed frame size
|
|
119
|
+
- Don't pre-allocate a message buffer until the whole frame has arrived
|
|
120
|
+
- Fix compatibility with Node v0.11 `HTTPParser`
|
|
121
|
+
|
|
122
|
+
### 0.3.0 / 2013-09-09
|
|
123
|
+
|
|
124
|
+
- Support client URLs with Basic Auth credentials
|
|
125
|
+
|
|
126
|
+
### 0.2.2 / 2013-07-05
|
|
127
|
+
|
|
128
|
+
- No functional changes, just updates to package.json
|
|
129
|
+
|
|
130
|
+
### 0.2.1 / 2013-05-17
|
|
131
|
+
|
|
132
|
+
- Export the isSecureRequest() method since faye-websocket relies on it
|
|
133
|
+
- Queue sent messages in the client's initial state
|
|
134
|
+
|
|
135
|
+
### 0.2.0 / 2013-05-12
|
|
136
|
+
|
|
137
|
+
- Add API for setting and reading headers
|
|
138
|
+
- Add Driver.server() method for getting a driver for TCP servers
|
|
139
|
+
|
|
140
|
+
### 0.1.0 / 2013-05-04
|
|
141
|
+
|
|
142
|
+
- First stable release
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# HTTP Parser
|
|
2
|
+
|
|
3
|
+
## 0.4.4
|
|
4
|
+
|
|
5
|
+
Made 'maxHeaderSize' configurable.
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
// Monkey patch before you require http for the first time.
|
|
9
|
+
process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;
|
|
10
|
+
require('http-parser-js').HTTPParser.maxHeaderSize = 1024 * 1024; // 1MB instead of 80kb
|
|
11
|
+
|
|
12
|
+
var http = require('http');
|
|
13
|
+
// ...
|
|
14
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
### 0.1.4 / 2020-06-02
|
|
2
|
+
|
|
3
|
+
- Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by
|
|
4
|
+
Robert McLaughlin)
|
|
5
|
+
- Change license from MIT to Apache 2.0
|
|
6
|
+
|
|
7
|
+
### 0.1.3 / 2017-11-11
|
|
8
|
+
|
|
9
|
+
- Accept extension names and parameters including uppercase letters
|
|
10
|
+
- Handle extension names that clash with `Object.prototype` properties
|
|
11
|
+
|
|
12
|
+
### 0.1.2 / 2017-09-10
|
|
13
|
+
|
|
14
|
+
- Catch synchronous exceptions thrown when calling an extension
|
|
15
|
+
- Fix race condition caused when a message is pushed after a cell has stopped
|
|
16
|
+
due to an error
|
|
17
|
+
- Fix failure of `close()` to return if a message that's queued after one that
|
|
18
|
+
produces an error never finishes being processed
|
|
19
|
+
|
|
20
|
+
### 0.1.1 / 2015-02-19
|
|
21
|
+
|
|
22
|
+
- Prevent sessions being closed before they have finished processing messages
|
|
23
|
+
- Add a callback to `Extensions.close()` so the caller can tell when it's safe
|
|
24
|
+
to close the socket
|
|
25
|
+
|
|
26
|
+
### 0.1.0 / 2014-12-12
|
|
27
|
+
|
|
28
|
+
- Initial release
|
package/package.json
CHANGED
|
@@ -45,7 +45,10 @@
|
|
|
45
45
|
}
|
|
46
46
|
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
|
|
47
47
|
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
|
|
48
|
-
.leaflet-container .leaflet-overlay-pane svg
|
|
48
|
+
.leaflet-container .leaflet-overlay-pane svg {
|
|
49
|
+
max-width: none !important;
|
|
50
|
+
max-height: none !important;
|
|
51
|
+
}
|
|
49
52
|
.leaflet-container .leaflet-marker-pane img,
|
|
50
53
|
.leaflet-container .leaflet-shadow-pane img,
|
|
51
54
|
.leaflet-container .leaflet-tile-pane img,
|
|
@@ -53,8 +56,15 @@
|
|
|
53
56
|
.leaflet-container .leaflet-tile {
|
|
54
57
|
max-width: none !important;
|
|
55
58
|
max-height: none !important;
|
|
59
|
+
width: auto;
|
|
60
|
+
padding: 0;
|
|
56
61
|
}
|
|
57
62
|
|
|
63
|
+
.leaflet-container img.leaflet-tile {
|
|
64
|
+
/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
|
|
65
|
+
mix-blend-mode: plus-lighter;
|
|
66
|
+
}
|
|
67
|
+
|
|
58
68
|
.leaflet-container.leaflet-touch-zoom {
|
|
59
69
|
-ms-touch-action: pan-x pan-y;
|
|
60
70
|
touch-action: pan-x pan-y;
|
|
@@ -166,9 +176,6 @@
|
|
|
166
176
|
|
|
167
177
|
/* zoom and fade animations */
|
|
168
178
|
|
|
169
|
-
.leaflet-fade-anim .leaflet-tile {
|
|
170
|
-
/* will-change: opacity; */
|
|
171
|
-
}
|
|
172
179
|
.leaflet-fade-anim .leaflet-popup {
|
|
173
180
|
opacity: 0;
|
|
174
181
|
-webkit-transition: opacity 0.2s linear;
|
|
@@ -183,9 +190,10 @@
|
|
|
183
190
|
-ms-transform-origin: 0 0;
|
|
184
191
|
transform-origin: 0 0;
|
|
185
192
|
}
|
|
186
|
-
.leaflet-zoom-
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
svg.leaflet-zoom-animated {
|
|
194
|
+
will-change: transform;
|
|
195
|
+
}
|
|
196
|
+
|
|
189
197
|
.leaflet-zoom-anim .leaflet-zoom-animated {
|
|
190
198
|
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
|
191
199
|
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
|
@@ -251,14 +259,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
251
259
|
|
|
252
260
|
.leaflet-container {
|
|
253
261
|
background: #ddd;
|
|
254
|
-
outline:
|
|
262
|
+
outline-offset: 1px;
|
|
255
263
|
}
|
|
256
264
|
.leaflet-container a {
|
|
257
265
|
color: #0078A8;
|
|
258
266
|
}
|
|
259
|
-
.leaflet-container a.leaflet-active {
|
|
260
|
-
outline: 2px solid orange;
|
|
261
|
-
}
|
|
262
267
|
.leaflet-zoom-box {
|
|
263
268
|
border: 2px dotted #38f;
|
|
264
269
|
background: rgba(255,255,255,0.5);
|
|
@@ -267,7 +272,10 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
267
272
|
|
|
268
273
|
/* general typography */
|
|
269
274
|
.leaflet-container {
|
|
270
|
-
font:
|
|
275
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
276
|
+
font-size: 12px;
|
|
277
|
+
font-size: 0.75rem;
|
|
278
|
+
line-height: 1.5;
|
|
271
279
|
}
|
|
272
280
|
|
|
273
281
|
|
|
@@ -277,8 +285,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
277
285
|
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
|
278
286
|
border-radius: 4px;
|
|
279
287
|
}
|
|
280
|
-
.leaflet-bar a
|
|
281
|
-
.leaflet-bar a:hover {
|
|
288
|
+
.leaflet-bar a {
|
|
282
289
|
background-color: #fff;
|
|
283
290
|
border-bottom: 1px solid #ccc;
|
|
284
291
|
width: 26px;
|
|
@@ -295,7 +302,8 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
295
302
|
background-repeat: no-repeat;
|
|
296
303
|
display: block;
|
|
297
304
|
}
|
|
298
|
-
.leaflet-bar a:hover
|
|
305
|
+
.leaflet-bar a:hover,
|
|
306
|
+
.leaflet-bar a:focus {
|
|
299
307
|
background-color: #f4f4f4;
|
|
300
308
|
}
|
|
301
309
|
.leaflet-bar a:first-child {
|
|
@@ -385,6 +393,8 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
385
393
|
}
|
|
386
394
|
.leaflet-control-layers label {
|
|
387
395
|
display: block;
|
|
396
|
+
font-size: 13px;
|
|
397
|
+
font-size: 1.08333em;
|
|
388
398
|
}
|
|
389
399
|
.leaflet-control-layers-separator {
|
|
390
400
|
height: 0;
|
|
@@ -393,7 +403,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
393
403
|
}
|
|
394
404
|
|
|
395
405
|
/* Default icon URLs */
|
|
396
|
-
.leaflet-default-icon-path {
|
|
406
|
+
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
|
|
397
407
|
background-image: url(images/marker-icon.png);
|
|
398
408
|
}
|
|
399
409
|
|
|
@@ -402,23 +412,27 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
402
412
|
|
|
403
413
|
.leaflet-container .leaflet-control-attribution {
|
|
404
414
|
background: #fff;
|
|
405
|
-
background: rgba(255, 255, 255, 0.
|
|
415
|
+
background: rgba(255, 255, 255, 0.8);
|
|
406
416
|
margin: 0;
|
|
407
417
|
}
|
|
408
418
|
.leaflet-control-attribution,
|
|
409
419
|
.leaflet-control-scale-line {
|
|
410
420
|
padding: 0 5px;
|
|
411
421
|
color: #333;
|
|
422
|
+
line-height: 1.4;
|
|
412
423
|
}
|
|
413
424
|
.leaflet-control-attribution a {
|
|
414
425
|
text-decoration: none;
|
|
415
426
|
}
|
|
416
|
-
.leaflet-control-attribution a:hover
|
|
427
|
+
.leaflet-control-attribution a:hover,
|
|
428
|
+
.leaflet-control-attribution a:focus {
|
|
417
429
|
text-decoration: underline;
|
|
418
430
|
}
|
|
419
|
-
.leaflet-
|
|
420
|
-
|
|
421
|
-
|
|
431
|
+
.leaflet-attribution-flag {
|
|
432
|
+
display: inline !important;
|
|
433
|
+
vertical-align: baseline !important;
|
|
434
|
+
width: 1em;
|
|
435
|
+
height: 0.6669em;
|
|
422
436
|
}
|
|
423
437
|
.leaflet-left .leaflet-control-scale {
|
|
424
438
|
margin-left: 5px;
|
|
@@ -431,14 +445,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
431
445
|
border-top: none;
|
|
432
446
|
line-height: 1.1;
|
|
433
447
|
padding: 2px 5px 1px;
|
|
434
|
-
font-size: 11px;
|
|
435
448
|
white-space: nowrap;
|
|
436
|
-
overflow: hidden;
|
|
437
449
|
-moz-box-sizing: border-box;
|
|
438
450
|
box-sizing: border-box;
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
background: rgba(255, 255, 255, 0.5);
|
|
451
|
+
background: rgba(255, 255, 255, 0.8);
|
|
452
|
+
text-shadow: 1px 1px #fff;
|
|
442
453
|
}
|
|
443
454
|
.leaflet-control-scale-line:not(:first-child) {
|
|
444
455
|
border-top: 2px solid #777;
|
|
@@ -474,17 +485,22 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
474
485
|
border-radius: 12px;
|
|
475
486
|
}
|
|
476
487
|
.leaflet-popup-content {
|
|
477
|
-
margin: 13px
|
|
478
|
-
line-height: 1.
|
|
488
|
+
margin: 13px 24px 13px 20px;
|
|
489
|
+
line-height: 1.3;
|
|
490
|
+
font-size: 13px;
|
|
491
|
+
font-size: 1.08333em;
|
|
492
|
+
min-height: 1px;
|
|
479
493
|
}
|
|
480
494
|
.leaflet-popup-content p {
|
|
481
|
-
margin:
|
|
495
|
+
margin: 17px 0;
|
|
496
|
+
margin: 1.3em 0;
|
|
482
497
|
}
|
|
483
498
|
.leaflet-popup-tip-container {
|
|
484
499
|
width: 40px;
|
|
485
500
|
height: 20px;
|
|
486
501
|
position: absolute;
|
|
487
502
|
left: 50%;
|
|
503
|
+
margin-top: -1px;
|
|
488
504
|
margin-left: -20px;
|
|
489
505
|
overflow: hidden;
|
|
490
506
|
pointer-events: none;
|
|
@@ -495,6 +511,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
495
511
|
padding: 1px;
|
|
496
512
|
|
|
497
513
|
margin: -10px auto 0;
|
|
514
|
+
pointer-events: auto;
|
|
498
515
|
|
|
499
516
|
-webkit-transform: rotate(45deg);
|
|
500
517
|
-moz-transform: rotate(45deg);
|
|
@@ -511,24 +528,21 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
511
528
|
position: absolute;
|
|
512
529
|
top: 0;
|
|
513
530
|
right: 0;
|
|
514
|
-
padding: 4px 4px 0 0;
|
|
515
531
|
border: none;
|
|
516
532
|
text-align: center;
|
|
517
|
-
width:
|
|
518
|
-
height:
|
|
519
|
-
font: 16px/
|
|
520
|
-
color: #
|
|
533
|
+
width: 24px;
|
|
534
|
+
height: 24px;
|
|
535
|
+
font: 16px/24px Tahoma, Verdana, sans-serif;
|
|
536
|
+
color: #757575;
|
|
521
537
|
text-decoration: none;
|
|
522
|
-
font-weight: bold;
|
|
523
538
|
background: transparent;
|
|
524
539
|
}
|
|
525
|
-
.leaflet-container a.leaflet-popup-close-button:hover
|
|
526
|
-
|
|
540
|
+
.leaflet-container a.leaflet-popup-close-button:hover,
|
|
541
|
+
.leaflet-container a.leaflet-popup-close-button:focus {
|
|
542
|
+
color: #585858;
|
|
527
543
|
}
|
|
528
544
|
.leaflet-popup-scrolled {
|
|
529
545
|
overflow: auto;
|
|
530
|
-
border-bottom: 1px solid #ddd;
|
|
531
|
-
border-top: 1px solid #ddd;
|
|
532
546
|
}
|
|
533
547
|
|
|
534
548
|
.leaflet-oldie .leaflet-popup-content-wrapper {
|
|
@@ -541,9 +555,6 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
541
555
|
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
|
542
556
|
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
|
543
557
|
}
|
|
544
|
-
.leaflet-oldie .leaflet-popup-tip-container {
|
|
545
|
-
margin-top: -1px;
|
|
546
|
-
}
|
|
547
558
|
|
|
548
559
|
.leaflet-oldie .leaflet-control-zoom,
|
|
549
560
|
.leaflet-oldie .leaflet-control-layers,
|
|
@@ -560,13 +571,6 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
560
571
|
border: 1px solid #666;
|
|
561
572
|
}
|
|
562
573
|
|
|
563
|
-
.leaflet-popup-content-wrapper {
|
|
564
|
-
border-radius: 6px !important;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.leaflet-popup-content {
|
|
568
|
-
margin: 6px 8px !important;
|
|
569
|
-
}
|
|
570
574
|
|
|
571
575
|
/* Tooltip */
|
|
572
576
|
/* Base styles for the element that has a tooltip */
|
|
@@ -585,7 +589,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
585
589
|
pointer-events: none;
|
|
586
590
|
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
|
587
591
|
}
|
|
588
|
-
.leaflet-tooltip.leaflet-
|
|
592
|
+
.leaflet-tooltip.leaflet-interactive {
|
|
589
593
|
cursor: pointer;
|
|
590
594
|
pointer-events: auto;
|
|
591
595
|
}
|
|
@@ -645,3 +649,13 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
645
649
|
margin-left: -12px;
|
|
646
650
|
border-right-color: #fff;
|
|
647
651
|
}
|
|
652
|
+
|
|
653
|
+
/* Printing */
|
|
654
|
+
|
|
655
|
+
@media print {
|
|
656
|
+
/* Prevent printers from removing background-images of controls. */
|
|
657
|
+
.leaflet-control {
|
|
658
|
+
-webkit-print-color-adjust: exact;
|
|
659
|
+
print-color-adjust: exact;
|
|
660
|
+
}
|
|
661
|
+
}
|