forked from Snck3rs/contao-leaflet-libraries
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
232d223eee | ||
|
|
79fdad5ca3 | ||
|
|
c5b72d2c15 | ||
|
|
69b500a5fc |
@@ -12,14 +12,15 @@ Contao CMS.
|
|||||||
|
|
||||||
This package contains following packages:
|
This package contains following packages:
|
||||||
|
|
||||||
- [leaflet 1.2.0](http://leafletjs.com)
|
- [leaflet 1.3.1](http://leafletjs.com)
|
||||||
- [Leaflet-providers 1.1.17](http://leaflet-extras.github.io/leaflet-providers)
|
- [Leaflet-providers 1.1.17](http://leaflet-extras.github.io/leaflet-providers)
|
||||||
- [Leaflet.markercluster 1.1.0](https://github.com/Leaflet/Leaflet.markercluster)
|
- [Leaflet.markercluster 1.3.0](https://github.com/Leaflet/Leaflet.markercluster)
|
||||||
- [Leaflet-omnivore 0.3.4](https://github.com/mapbox/leaflet-omnivore)
|
- [Leaflet-omnivore 0.3.4](https://github.com/mapbox/leaflet-omnivore)
|
||||||
- [Leaflet.loading 0.1.24](https://github.com/ebrelsford/Leaflet.loading)
|
- [Leaflet.loading 0.1.24](https://github.com/ebrelsford/Leaflet.loading)
|
||||||
- [Leaflet.Control.FullScreen 1.4.3](https://github.com/brunob/leaflet.fullscreen)
|
- [Leaflet.Control.FullScreen 1.4.3](https://github.com/brunob/leaflet.fullscreen)
|
||||||
- [Leaflet Control Geocoder 1.5.5](https://github.com/perliedman/leaflet-control-geocoder)
|
- [Leaflet Control Geocoder 1.5.5](https://github.com/perliedman/leaflet-control-geocoder)
|
||||||
- [Leaflet.ExtraMarkers 1.0.6](https://github.com/coryasilva/Leaflet.ExtraMarkers)
|
- [Leaflet.ExtraMarkers 1.0.6](https://github.com/coryasilva/Leaflet.ExtraMarkers)
|
||||||
|
- [leaflet.pm 0.23.1](https://github.com/codeofsumit/leaflet.pm)
|
||||||
- [osmtogeojson 2.2.12](https://github.com/tyrasd/osmtogeojson)
|
- [osmtogeojson 2.2.12](https://github.com/tyrasd/osmtogeojson)
|
||||||
- [spin.js 2.3.2](http://fgnass.github.io/spin.js)
|
- [spin.js 2.3.2](http://fgnass.github.io/spin.js)
|
||||||
|
|
||||||
@@ -52,4 +53,4 @@ License
|
|||||||
-------
|
-------
|
||||||
|
|
||||||
As this package is just a meta package to provide the libraries, the licenses of each library have to be accepted. They
|
As this package is just a meta package to provide the libraries, the licenses of each library have to be accepted. They
|
||||||
are unter the MIT or BSD license.
|
are under the MIT or BSD license.
|
||||||
|
|||||||
@@ -1,17 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
|
* Leaflet.markercluster 1.3.0+master.5b36e91,
|
||||||
https://github.com/Leaflet/Leaflet.markercluster
|
* Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
|
||||||
(c) 2012-2013, Dave Leaver, smartrak
|
* https://github.com/Leaflet/Leaflet.markercluster
|
||||||
*/
|
* (c) 2012-2017, Dave Leaver, smartrak
|
||||||
(function (window, document, undefined) {/*
|
*/
|
||||||
|
(function (global, factory) {
|
||||||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||||||
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||||||
|
(factory((global.Leaflet = global.Leaflet || {}, global.Leaflet.markercluster = global.Leaflet.markercluster || {})));
|
||||||
|
}(this, (function (exports) { 'use strict';
|
||||||
|
|
||||||
|
/*
|
||||||
* L.MarkerClusterGroup extends L.FeatureGroup by clustering the markers contained within
|
* L.MarkerClusterGroup extends L.FeatureGroup by clustering the markers contained within
|
||||||
*/
|
*/
|
||||||
|
|
||||||
L.MarkerClusterGroup = L.FeatureGroup.extend({
|
var MarkerClusterGroup = L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
maxClusterRadius: 80, //A cluster will cover at most this many pixels from its center
|
maxClusterRadius: 80, //A cluster will cover at most this many pixels from its center
|
||||||
iconCreateFunction: null,
|
iconCreateFunction: null,
|
||||||
|
clusterPane: L.Marker.prototype.options.pane,
|
||||||
|
|
||||||
spiderfyOnMaxZoom: true,
|
spiderfyOnMaxZoom: true,
|
||||||
showCoverageOnHover: true,
|
showCoverageOnHover: true,
|
||||||
@@ -54,9 +62,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
if (!this.options.iconCreateFunction) {
|
if (!this.options.iconCreateFunction) {
|
||||||
this.options.iconCreateFunction = this._defaultIconCreateFunction;
|
this.options.iconCreateFunction = this._defaultIconCreateFunction;
|
||||||
}
|
}
|
||||||
if (!this.options.clusterPane) {
|
|
||||||
this.options.clusterPane = L.Marker.prototype.options.pane;
|
|
||||||
}
|
|
||||||
|
|
||||||
this._featureGroup = L.featureGroup();
|
this._featureGroup = L.featureGroup();
|
||||||
this._featureGroup.addEventParent(this);
|
this._featureGroup.addEventParent(this);
|
||||||
@@ -505,7 +510,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
//Overrides LayerGroup.getLayer, WARNING: Really bad performance
|
//Overrides LayerGroup.getLayer, WARNING: Really bad performance
|
||||||
getLayer: function (id) {
|
getLayer: function (id) {
|
||||||
var result = null;
|
var result = null;
|
||||||
|
|
||||||
id = parseInt(id, 10);
|
id = parseInt(id, 10);
|
||||||
|
|
||||||
this.eachLayer(function (l) {
|
this.eachLayer(function (l) {
|
||||||
@@ -719,7 +724,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
}
|
}
|
||||||
delete e.target.__dragStart;
|
delete e.target.__dragStart;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//Internal function for removing a marker from everything.
|
//Internal function for removing a marker from everything.
|
||||||
//dontUpdateMap: set to true if you will handle updating the map manually (for bulk functions)
|
//dontUpdateMap: set to true if you will handle updating the map manually (for bulk functions)
|
||||||
@@ -933,7 +938,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
minZoom = Math.floor(this._map.getMinZoom()),
|
minZoom = Math.floor(this._map.getMinZoom()),
|
||||||
radius = this.options.maxClusterRadius,
|
radius = this.options.maxClusterRadius,
|
||||||
radiusFn = radius;
|
radiusFn = radius;
|
||||||
|
|
||||||
//If we just set maxClusterRadius to a single number, we need to create
|
//If we just set maxClusterRadius to a single number, we need to create
|
||||||
//a simple function to return that number. Otherwise, we just have to
|
//a simple function to return that number. Otherwise, we just have to
|
||||||
//use the function we've passed in.
|
//use the function we've passed in.
|
||||||
@@ -947,7 +952,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
this._maxZoom = maxZoom;
|
this._maxZoom = maxZoom;
|
||||||
this._gridClusters = {};
|
this._gridClusters = {};
|
||||||
this._gridUnclustered = {};
|
this._gridUnclustered = {};
|
||||||
|
|
||||||
//Set up DistanceGrids for each zoom
|
//Set up DistanceGrids for each zoom
|
||||||
for (var zoom = maxZoom; zoom >= minZoom; zoom--) {
|
for (var zoom = maxZoom; zoom >= minZoom; zoom--) {
|
||||||
this._gridClusters[zoom] = new L.DistanceGrid(radiusFn(zoom));
|
this._gridClusters[zoom] = new L.DistanceGrid(radiusFn(zoom));
|
||||||
@@ -1378,8 +1383,9 @@ L.markerClusterGroup = function (options) {
|
|||||||
return new L.MarkerClusterGroup(options);
|
return new L.MarkerClusterGroup(options);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var MarkerCluster = L.MarkerCluster = L.Marker.extend({
|
||||||
|
options: L.Icon.prototype.options,
|
||||||
|
|
||||||
L.MarkerCluster = L.Marker.extend({
|
|
||||||
initialize: function (group, zoom, a, b) {
|
initialize: function (group, zoom, a, b) {
|
||||||
|
|
||||||
L.Marker.prototype.initialize.call(this, a ? (a._cLatLng || a.getLatLng()) : new L.LatLng(0, 0),
|
L.Marker.prototype.initialize.call(this, a ? (a._cLatLng || a.getLatLng()) : new L.LatLng(0, 0),
|
||||||
@@ -1777,8 +1783,6 @@ L.MarkerCluster = L.Marker.extend({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extends L.Marker to include two extra methods: clusterHide and clusterShow.
|
* Extends L.Marker to include two extra methods: clusterHide and clusterShow.
|
||||||
*
|
*
|
||||||
@@ -1803,10 +1807,6 @@ L.Marker.include({
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
L.DistanceGrid = function (cellSize) {
|
L.DistanceGrid = function (cellSize) {
|
||||||
this._cellSize = cellSize;
|
this._cellSize = cellSize;
|
||||||
this._sqCellSize = cellSize * cellSize;
|
this._sqCellSize = cellSize * cellSize;
|
||||||
@@ -1900,7 +1900,8 @@ L.DistanceGrid.prototype = {
|
|||||||
for (k = 0, len = cell.length; k < len; k++) {
|
for (k = 0, len = cell.length; k < len; k++) {
|
||||||
obj = cell[k];
|
obj = cell[k];
|
||||||
dist = this._sqDist(objectPoint[L.Util.stamp(obj)], point);
|
dist = this._sqDist(objectPoint[L.Util.stamp(obj)], point);
|
||||||
if (dist < closestDistSq) {
|
if (dist < closestDistSq ||
|
||||||
|
dist <= closestDistSq && closest === null) {
|
||||||
closestDistSq = dist;
|
closestDistSq = dist;
|
||||||
closest = obj;
|
closest = obj;
|
||||||
}
|
}
|
||||||
@@ -1913,7 +1914,8 @@ L.DistanceGrid.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_getCoord: function (x) {
|
_getCoord: function (x) {
|
||||||
return Math.floor(x / this._cellSize);
|
var coord = Math.floor(x / this._cellSize);
|
||||||
|
return isFinite(coord) ? coord : x;
|
||||||
},
|
},
|
||||||
|
|
||||||
_sqDist: function (p, p2) {
|
_sqDist: function (p, p2) {
|
||||||
@@ -1923,7 +1925,6 @@ L.DistanceGrid.prototype = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Copyright (c) 2012 the authors listed at the following URL, and/or
|
/* Copyright (c) 2012 the authors listed at the following URL, and/or
|
||||||
the authors of referenced articles or incorporated external code:
|
the authors of referenced articles or incorporated external code:
|
||||||
http://en.literateprograms.org/Quickhull_(Javascript)?action=history&offset=20120410175256
|
http://en.literateprograms.org/Quickhull_(Javascript)?action=history&offset=20120410175256
|
||||||
@@ -2090,7 +2091,6 @@ L.MarkerCluster.include({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//This code is 100% based on https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet
|
//This code is 100% based on https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet
|
||||||
//Huge thanks to jawj for implementing it first to make my job easy :-)
|
//Huge thanks to jawj for implementing it first to make my job easy :-)
|
||||||
|
|
||||||
@@ -2098,7 +2098,7 @@ L.MarkerCluster.include({
|
|||||||
|
|
||||||
_2PI: Math.PI * 2,
|
_2PI: Math.PI * 2,
|
||||||
_circleFootSeparation: 25, //related to circumference of circle
|
_circleFootSeparation: 25, //related to circumference of circle
|
||||||
_circleStartAngle: Math.PI / 6,
|
_circleStartAngle: 0,
|
||||||
|
|
||||||
_spiralFootSeparation: 28, //related to size of spiral (experiment!)
|
_spiralFootSeparation: 28, //related to size of spiral (experiment!)
|
||||||
_spiralLengthStart: 11,
|
_spiralLengthStart: 11,
|
||||||
@@ -2150,9 +2150,11 @@ L.MarkerCluster.include({
|
|||||||
res = [],
|
res = [],
|
||||||
i, angle;
|
i, angle;
|
||||||
|
|
||||||
|
legLength = Math.max(legLength, 35); // Minimum distance to get outside the cluster icon.
|
||||||
|
|
||||||
res.length = count;
|
res.length = count;
|
||||||
|
|
||||||
for (i = count - 1; i >= 0; i--) {
|
for (i = 0; i < count; i++) { // Clockwise, like spiral.
|
||||||
angle = this._circleStartAngle + i * angleStep;
|
angle = this._circleStartAngle + i * angleStep;
|
||||||
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
||||||
}
|
}
|
||||||
@@ -2172,9 +2174,13 @@ L.MarkerCluster.include({
|
|||||||
res.length = count;
|
res.length = count;
|
||||||
|
|
||||||
// Higher index, closer position to cluster center.
|
// Higher index, closer position to cluster center.
|
||||||
for (i = count - 1; i >= 0; i--) {
|
for (i = count; i >= 0; i--) {
|
||||||
|
// Skip the first position, so that we are already farther from center and we avoid
|
||||||
|
// being under the default cluster icon (especially important for Circle Markers).
|
||||||
|
if (i < count) {
|
||||||
|
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
||||||
|
}
|
||||||
angle += separation / legLength + i * 0.0005;
|
angle += separation / legLength + i * 0.0005;
|
||||||
res[i] = new L.Point(centerPt.x + legLength * Math.cos(angle), centerPt.y + legLength * Math.sin(angle))._round();
|
|
||||||
legLength += lengthFactor / angle;
|
legLength += lengthFactor / angle;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
@@ -2561,7 +2567,6 @@ L.MarkerClusterGroup.include({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds 1 public method to MCG and 1 to L.Marker to facilitate changing
|
* Adds 1 public method to MCG and 1 to L.Marker to facilitate changing
|
||||||
* markers' icon options and refreshing their icon and their parent clusters
|
* markers' icon options and refreshing their icon and their parent clusters
|
||||||
@@ -2673,5 +2678,8 @@ L.Marker.include({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
exports.MarkerClusterGroup = MarkerClusterGroup;
|
||||||
|
exports.MarkerCluster = MarkerCluster;
|
||||||
|
|
||||||
}(window, document));
|
})));
|
||||||
|
//# sourceMappingURL=leaflet.markercluster-src.js.map
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
122
assets/leaflet-pm/leaflet.pm.css
Normal file
122
assets/leaflet-pm/leaflet.pm.css
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
.marker-icon,
|
||||||
|
.marker-icon:focus {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 1px solid #3388ff;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin: -8px 0 0 -8px !important;
|
||||||
|
width: 14px !important;
|
||||||
|
height: 14px !important;
|
||||||
|
outline: 0;
|
||||||
|
transition: opacity ease 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.marker-icon-middle,
|
||||||
|
.marker-icon-middle:focus {
|
||||||
|
opacity: 0.7;
|
||||||
|
margin: -6px 0 0 -6px !important;
|
||||||
|
width: 10px !important;
|
||||||
|
height: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-pm-draggable {
|
||||||
|
cursor: move !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cursor-marker {
|
||||||
|
cursor: crosshair;
|
||||||
|
pointer-events: none;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cursor-marker.visible {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-pm-invalid {
|
||||||
|
stroke: red;
|
||||||
|
transition: fill ease 0s, stroke ease 0s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rect-style-marker,
|
||||||
|
.rect-start-marker {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rect-style-marker.visible,
|
||||||
|
.rect-start-marker.visible {
|
||||||
|
opacity: 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-pm-toolbar .leaflet-buttons-control-button {
|
||||||
|
padding: 3px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar .control-icon {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
opacity: .8;
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-pm-toolbar .leaflet-pm-icon-marker {
|
||||||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAZCAYAAADTyxWqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ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RvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+KUUD2gAAAJhJREFUeNq01dsNwCAIhWHZyO4/RDtKN6DwYKP2ouDBhNhL8n+PEDMn5CGiJkgRgBwqz1BAglmuvQaSAoiRo/FThpsJiOud73+R8WVgFF8CZuJuYDbuAixxM2CNmwBPfBrwxqeAlfgQWI3/Aoj4J4CKvwLI+ANAxxsgIl6WGXcDi+voamt2qFybvB+wNdoD5RkK1B/QwCXAAMyWX2PeMm23AAAAAElFTkSuQmCC);
|
||||||
|
background-size: 80%;
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar .leaflet-pm-icon-circle {
|
||||||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6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pBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+J3lsvQAAAFpJREFUeNrsljsOACAIQ1sPyGG9IJq4IKOfQdNuhuQ90gUJwBHi7sRGSE48DuaA5uFqIq/gcpgr6rFNZo2Pkjq3A0tbrOp6RRJIIIEEEjxxcD68yae/LU2AAQC7fSa9H1rL6AAAAABJRU5ErkJggg==);
|
||||||
|
background-size: 90%;
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar .leaflet-pm-icon-drag {
|
||||||
|
/*background-image: url('../assets/icons/drag.png');*/
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar .leaflet-pm-icon-delete {
|
||||||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAaCAYAAAC3g3x9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS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gOskUIRgBr4AU8SIRZ/gCcbQjFHguMYqR6G2AzMhmJyxLAm7McUiDHQxcujBo4aOOQNxJb1ZCkQG6LFF9kVFIgACDAAqr5rFp6MjMcAAAAASUVORK5CYII=);
|
||||||
|
background-size: 70%;
|
||||||
|
}
|
||||||
|
.leaflet-pm-toolbar .leaflet-pm-icon-edit {
|
||||||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAVCAYAAABc6S4mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZ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E1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+UbC4LAAAATFJREFUeNrUVosRgyAMhU5gN3AER3AER2AER7AbOIIjdAS7gSO4Qd2AEu+ll6JYP9i75i4nIrxHkgeorbVKa50opYxzevbO765/ULGMSJy11BROBBV9i+FkuQBu8GSyOhYJR1GJzpqJYpBogJFduQ6o0RPp1EdLIkluSA8T2T0kWGDhPEVX85EaLjiUtjpdACxnBETe8aAS0vUH2AXgDAucnQdvR2F5E83MJHo3YkzuKTAI/p4TWKUZw5ySVdiwKaLwySj/2QTvS65zkedBOJMlaBN4GsRZWViL6IwnknoJfG0kmSAZFmqxPRKvJgYpGbYAB0kC6urE9wJy51O7F5HaUHv3Ptl6QB7e8WtImGCUpaeo/zmFL84faJeiv1KR7fyb8Rd3vObquzqUZ/2tvAQYANwXksvfGBuLAAAAAElFTkSuQmCC);
|
||||||
|
background-size: 80%;
|
||||||
|
background-position: 4px center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-buttons-control-button:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
.leaflet-buttons-control-button.active {
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-buttons-control-button.active > .control-icon {
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-buttons-control-text-hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
1
assets/leaflet-pm/leaflet.pm.min.js
vendored
Normal file
1
assets/leaflet-pm/leaflet.pm.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.4 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -47,6 +47,7 @@
|
|||||||
.leaflet-container .leaflet-tile-pane img,
|
.leaflet-container .leaflet-tile-pane img,
|
||||||
.leaflet-container img.leaflet-image-layer {
|
.leaflet-container img.leaflet-image-layer {
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
|
max-height: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-container.leaflet-touch-zoom {
|
.leaflet-container.leaflet-touch-zoom {
|
||||||
@@ -55,7 +56,10 @@
|
|||||||
}
|
}
|
||||||
.leaflet-container.leaflet-touch-drag {
|
.leaflet-container.leaflet-touch-drag {
|
||||||
-ms-touch-action: pinch-zoom;
|
-ms-touch-action: pinch-zoom;
|
||||||
}
|
/* Fallback for FF which doesn't support pinch-zoom */
|
||||||
|
touch-action: none;
|
||||||
|
touch-action: pinch-zoom;
|
||||||
|
}
|
||||||
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
||||||
-ms-touch-action: none;
|
-ms-touch-action: none;
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
assets/leaflet/leaflet.min.css
vendored
2
assets/leaflet/leaflet.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@
|
|||||||
"description":"Javascript libraries for the Leaflet maps integration for Contao",
|
"description":"Javascript libraries for the Leaflet maps integration for Contao",
|
||||||
"keywords":["contao", "maps", "leaflet"],
|
"keywords":["contao", "maps", "leaflet"],
|
||||||
"type":"contao-module",
|
"type":"contao-module",
|
||||||
"license":"LGPL-3.0+",
|
"license":"LGPL-3.0-or-later",
|
||||||
"authors":[
|
"authors":[
|
||||||
{
|
{
|
||||||
"name":"David Molineus",
|
"name":"David Molineus",
|
||||||
@@ -27,8 +27,8 @@
|
|||||||
},
|
},
|
||||||
"extra":{
|
"extra":{
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.0.x-dev",
|
"dev-master": "1.3.x-dev",
|
||||||
"dev-develop": "1.1.x-dev",
|
"dev-develop": "1.4.x-dev",
|
||||||
"dev-support/0.7.x": "0.7.x-dev"
|
"dev-support/0.7.x": "0.7.x-dev"
|
||||||
},
|
},
|
||||||
"contao": {
|
"contao": {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
$GLOBALS['LEAFLET_LIBRARIES']['leaflet'] = array
|
$GLOBALS['LEAFLET_LIBRARIES']['leaflet'] = array
|
||||||
(
|
(
|
||||||
'name' => 'Leaflet',
|
'name' => 'Leaflet',
|
||||||
'version' => '1.2.0',
|
'version' => '1.3.1',
|
||||||
'license' => '<a href="https://github.com/Leaflet/Leaflet/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
|
'license' => '<a href="https://github.com/Leaflet/Leaflet/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
|
||||||
'homepage' => 'http://leafletjs.com',
|
'homepage' => 'http://leafletjs.com',
|
||||||
'css' => 'assets/leaflet/libs/leaflet/leaflet.min.css',
|
'css' => 'assets/leaflet/libs/leaflet/leaflet.min.css',
|
||||||
@@ -36,7 +36,7 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
|
|||||||
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-markercluster'] = array
|
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-markercluster'] = array
|
||||||
(
|
(
|
||||||
'name' => 'Leaflet.markercluster',
|
'name' => 'Leaflet.markercluster',
|
||||||
'version' => '1.1.0',
|
'version' => '1.3.0',
|
||||||
'license' => '<a href="https://github.com/Leaflet/Leaflet.markercluster/blob/master/MIT-LICENCE.txt" target="_blank">MIT</a>',
|
'license' => '<a href="https://github.com/Leaflet/Leaflet.markercluster/blob/master/MIT-LICENCE.txt" target="_blank">MIT</a>',
|
||||||
'homepage' => 'https://github.com/Leaflet/Leaflet.markercluster',
|
'homepage' => 'https://github.com/Leaflet/Leaflet.markercluster',
|
||||||
'css' => 'assets/leaflet/libs/leaflet-markercluster/MarkerCluster.css',
|
'css' => 'assets/leaflet/libs/leaflet-markercluster/MarkerCluster.css',
|
||||||
@@ -92,6 +92,16 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-extra-markers'] = array
|
|||||||
'javascript' => 'assets/leaflet/libs/leaflet-extra-markers/js/leaflet.extra-markers.min.js'
|
'javascript' => 'assets/leaflet/libs/leaflet-extra-markers/js/leaflet.extra-markers.min.js'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-pm'] = array
|
||||||
|
(
|
||||||
|
'name' => 'leaflet.pm',
|
||||||
|
'version' => '0.23.1',
|
||||||
|
'license' => '<a href="https://github.com/codeofsumit/leaflet.pm/blob/develop/LICENSE" target="_blank">MIT</a>',
|
||||||
|
'homepage' => 'https://github.com/codeofsumit/leaflet.pm',
|
||||||
|
'css' => 'assets/leaflet/libs/leaflet-pm/leaflet.pm.css',
|
||||||
|
'javascript' => 'assets/leaflet/libs/leaflet-pm/leaflet.pm.min.js'
|
||||||
|
);
|
||||||
|
|
||||||
$GLOBALS['LEAFLET_LIBRARIES']['osmtogeojson'] = array
|
$GLOBALS['LEAFLET_LIBRARIES']['osmtogeojson'] = array
|
||||||
(
|
(
|
||||||
'name' => 'osmtogeojson',
|
'name' => 'osmtogeojson',
|
||||||
|
|||||||
Reference in New Issue
Block a user