Fix split map position in iframe
This commit is contained in:
parent
23a0aa12e1
commit
9667df12f3
@ -1,5 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.32.2 - Fix map split in iframe position
|
||||
- v2.32.1 - Let command.heatmap replace complete heatmap array.
|
||||
- v2.32.0 - Change || to nullish operator ?? to fix numerous dodgy assignments. Issue #219
|
||||
Delete marker now also removes from heatmap layer. Issue #218
|
||||
|
@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.32.2 - Fix map split in iframe position
|
||||
- v2.32.1 - Let command.map.heatmap replace complete heatmap array.
|
||||
- v2.32.0 - Change || to nullish operator ?? to fix numerous dodgy assignments. Issue #219
|
||||
Delete marker now also removes from heatmap layer. Issue #218
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "2.32.1",
|
||||
"version": "2.32.2",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"@turf/bezier-spline": "~6.5.0",
|
||||
|
@ -1,4 +1,5 @@
|
||||
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
(function () { function r(e, n, t) { function o(i, f) { if (!n[i]) { if (!e[i]) { var c = "function" == typeof require && require; if (!f && c) return c(i, !0); if (u) return u(i, !0); var a = new Error("Cannot find module '" + i + "'"); throw a.code = "MODULE_NOT_FOUND", a } var p = n[i] = { exports: {} }; e[i][0].call(p.exports, function (r) { var n = e[i][1][r]; return o(n || r) }, p, p.exports, r, e, n, t) } return n[i].exports } for (var u = "function" == typeof require && require, i = 0; i < t.length; i++)o(t[i]); return o } return r })()({
|
||||
1: [function (require, module, exports) {
|
||||
(function (global) {
|
||||
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null)
|
||||
require('./layout.css')
|
||||
@ -129,6 +130,7 @@ L.Control.SideBySide = L.Control.extend({
|
||||
var map = this._map
|
||||
var nw = map.containerPointToLayerPoint([0, 0])
|
||||
var se = map.containerPointToLayerPoint(map.getSize())
|
||||
se.y += 40;
|
||||
var clipX = nw.x + this.getPosition()
|
||||
var dividerX = this.getPosition()
|
||||
|
||||
@ -272,4 +274,5 @@ var css = ".leaflet-sbs-range {\r\n -webkit-appearance: none;\r\n display:
|
||||
inject(css, undefined, '_1tlt668');
|
||||
module.exports = css;
|
||||
|
||||
},{"./node_modules/cssify":3}]},{},[1]);
|
||||
}, { "./node_modules/cssify": 3 }]
|
||||
}, {}, [1]);
|
||||
|
Loading…
Reference in New Issue
Block a user