7 Commits

Author SHA1 Message Date
David Molineus
6203fdc45d Support Contao 4.3. 2017-01-18 11:07:59 +01:00
David Molineus
383bff4d6d Merge tag '1.0.2' 2016-11-25 09:53:50 +01:00
David Molineus
396651d6be Synch dependencies between config.php and readme.md. 2016-11-25 09:53:36 +01:00
David Molineus
37efd85ad1 Update leaflet-control-geocoder to v1.5.4. 2016-11-25 09:44:27 +01:00
David Molineus
0dbb9424e2 Update leaflet-omnivore to 0.3.4. 2016-11-25 09:36:15 +01:00
David Molineus
aab101e58e Update to leaflet v1.0.2. 2016-11-25 09:26:08 +01:00
David Molineus
337a1c7458 Merge tag '1.0.0-beta2' 2016-11-14 13:48:53 +01:00
19 changed files with 1375 additions and 2793 deletions

View File

@@ -12,13 +12,15 @@ Contao CMS.
This package contains following packages:
- [leaflet 1.0.1](http://leafletjs.com)
- [leaflet 1.0.2](http://leafletjs.com)
- [Leaflet-providers 1.1.15](http://leaflet-extras.github.io/leaflet-providers)
- [Leaflet.markercluster 1.0.0](https://github.com/Leaflet/Leaflet.markercluster)
- [Leaflet-omnivore 0.3.2](https://github.com/mapbox/leaflet-omnivore)
- [Leaflet-omnivore 0.3.4](https://github.com/mapbox/leaflet-omnivore)
- [Leaflet.loading 0.1.23](https://github.com/ebrelsford/Leaflet.loading)
- [Leaflet.Control.FullScreen 1.4.2](https://github.com/brunob/leaflet.fullscreen)
- [Leaflet Control Geocoder 1.5.1](https://github.com/perliedman/leaflet-control-geocoder)
- [Leaflet Control Geocoder 1.5.4](https://github.com/perliedman/leaflet-control-geocoder)
- [Leaflet.ExtraMarkers 1.0.6](https://github.com/coryasilva/Leaflet.ExtraMarkers)
- [osmtogeojson 2.2.12](https://github.com/tyrasd/osmtogeojson)
- [spin.js 2.3.2](http://fgnass.github.io/spin.js)

View File

@@ -1,7 +1,7 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.leafletControlGeocoder = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Nominatim = require('./geocoders/nominatim')["class"];
Nominatim = _dereq_('./geocoders/nominatim')["class"];
module.exports = {
"class": L.Control.extend({
@@ -51,12 +51,14 @@ module.exports = {
this._alts = L.DomUtil.create('ul',
className + '-alternatives leaflet-control-geocoder-alternatives-minimized',
container);
L.DomEvent.disableClickPropagation(this._alts);
L.DomEvent.addListener(input, 'keydown', this._keydown, this);
L.DomEvent.addListener(input, 'blur', function() {
if (this.options.collapsed) {
if (this.options.collapsed && !this._preventBlurCollapse) {
this._collapse();
}
this._preventBlurCollapse = false;
}, this);
@@ -147,9 +149,7 @@ module.exports = {
},
_geocodeResultSelected: function(result) {
if (this.options.collapsed) {
this._collapse();
} else {
if (!this.options.collapsed) {
this._clearResults();
}
@@ -188,9 +188,20 @@ module.exports = {
a = L.DomUtil.create('a', '', li),
icon = this.options.showResultIcons && result.icon ? L.DomUtil.create('img', '', a) : null,
text = result.html ? undefined : document.createTextNode(result.name),
clickHandler = function clickHandler(e) {
L.DomEvent.preventDefault(e);
mouseDownHandler = function mouseDownHandler(e) {
// In some browsers, a click will fire on the map if the control is
// collapsed directly after mousedown. To work around this, we
// wait until the click is completed, and _then_ collapse the
// control. Messy, but this is the workaround I could come up with
// for #142.
this._preventBlurCollapse = true;
L.DomEvent.stop(e);
this._geocodeResultSelected(result);
L.DomEvent.on(li, 'click', function() {
if (this.options.collapsed) {
this._collapse();
}
}, this);
};
if (icon) {
@@ -205,7 +216,10 @@ module.exports = {
a.appendChild(text);
}
L.DomEvent.addListener(li, 'mousedown', clickHandler, this);
// Use mousedown and not click, since click will fire _after_ blur,
// causing the control to have collapsed and removed the items
// before the click can fire.
L.DomEvent.addListener(li, 'mousedown', mouseDownHandler, this);
return li;
},
@@ -275,10 +289,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./geocoders/nominatim":9}],2:[function(require,module,exports){
},{"./geocoders/nominatim":9}],2:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -362,10 +376,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],3:[function(require,module,exports){
},{"../util":13}],3:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -419,10 +433,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],4:[function(require,module,exports){
},{"../util":13}],4:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -512,10 +526,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],5:[function(require,module,exports){
},{"../util":13}],5:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -586,10 +600,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],6:[function(require,module,exports){
},{"../util":13}],6:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -678,10 +692,10 @@ module.exports = {
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],7:[function(require,module,exports){
},{"../util":13}],7:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -767,10 +781,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],8:[function(require,module,exports){
},{"../util":13}],8:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -856,10 +870,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],9:[function(require,module,exports){
},{"../util":13}],9:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -954,10 +968,10 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],10:[function(require,module,exports){
},{"../util":13}],10:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -1057,10 +1071,10 @@ module.exports = {
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],11:[function(require,module,exports){
},{"../util":13}],11:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Util = require('../util');
Util = _dereq_('../util');
module.exports = {
"class": L.Class.extend({
@@ -1123,20 +1137,20 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"../util":13}],12:[function(require,module,exports){
},{"../util":13}],12:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
Control = require('./control'),
Nominatim = require('./geocoders/nominatim'),
Bing = require('./geocoders/bing'),
MapQuest = require('./geocoders/mapquest'),
Mapbox = require('./geocoders/mapbox'),
What3Words = require('./geocoders/what3words'),
Google = require('./geocoders/google'),
Photon = require('./geocoders/photon'),
Mapzen = require('./geocoders/mapzen'),
ArcGis = require('./geocoders/arcgis'),
HERE = require('./geocoders/here');
Control = _dereq_('./control'),
Nominatim = _dereq_('./geocoders/nominatim'),
Bing = _dereq_('./geocoders/bing'),
MapQuest = _dereq_('./geocoders/mapquest'),
Mapbox = _dereq_('./geocoders/mapbox'),
What3Words = _dereq_('./geocoders/what3words'),
Google = _dereq_('./geocoders/google'),
Photon = _dereq_('./geocoders/photon'),
Mapzen = _dereq_('./geocoders/mapzen'),
ArcGis = _dereq_('./geocoders/arcgis'),
HERE = _dereq_('./geocoders/here');
module.exports = L.Util.extend(Control["class"], {
Nominatim: Nominatim["class"],
@@ -1167,7 +1181,7 @@ L.Util.extend(L.Control, {
});
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./control":1,"./geocoders/arcgis":2,"./geocoders/bing":3,"./geocoders/google":4,"./geocoders/here":5,"./geocoders/mapbox":6,"./geocoders/mapquest":7,"./geocoders/mapzen":8,"./geocoders/nominatim":9,"./geocoders/photon":10,"./geocoders/what3words":11}],13:[function(require,module,exports){
},{"./control":1,"./geocoders/arcgis":2,"./geocoders/bing":3,"./geocoders/google":4,"./geocoders/here":5,"./geocoders/mapbox":6,"./geocoders/mapquest":7,"./geocoders/mapzen":8,"./geocoders/nominatim":9,"./geocoders/photon":10,"./geocoders/what3words":11}],13:[function(_dereq_,module,exports){
(function (global){
var L = (typeof window !== "undefined" ? window['L'] : typeof global !== "undefined" ? global['L'] : null),
lastCallbackId = 0,
@@ -1253,4 +1267,5 @@ module.exports = {
};
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{}]},{},[12]);
},{}]},{},[12])(12)
});

File diff suppressed because one or more lines are too long

46
assets/control-geocoder/README.md Normal file → Executable file
View File

@@ -6,7 +6,7 @@ I strongly believe that it is my &mdash; and your &mdash; duty to make the open
While I can't force anyone to do anything, if you happen to disagree with this, I ask of you not to use any of the open source I have published. Nor am I interested in contributions from people who can't accept or act respectfully towards other humans regardless of gender identity, sexual orientation, disability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics. If you think feminism, anti-racism or the LGBT movement is somehow wrong, disturbing or irrelevant, I ask you to go elsewhere to find software.
Leaflet Control Geocoder [![NPM version](https://badge.fury.io/js/leaflet-control-geocoder.png)](http://badge.fury.io/js/leaflet-control-geocoder)
Leaflet Control Geocoder [![NPM version](https://img.shields.io/npm/v/leaflet-control-geocoder.svg)](https://www.npmjs.com/package/leaflet-control-geocoder) ![Leaflet 1.0.0 compatible!](https://img.shields.io/badge/Leaflet%201.0.0-%E2%9C%93-1EB300.svg?style=flat)
=============================
A simple geocoder for [Leaflet](http://leafletjs.com/) that by default uses [OSM](http://www.openstreetmap.org/)/[Nominatim](http://wiki.openstreetmap.org/wiki/Nominatim).
@@ -18,18 +18,24 @@ The plugin supports many different data providers:
* [Google Geocoding API](https://developers.google.com/maps/documentation/geocoding/)
* [Mapbox Geocoding](https://www.mapbox.com/developers/api/geocoding/)
* [MapQuest Geocoding API](http://developer.mapquest.com/web/products/dev-services/geocoding-ws)
* [RaveGeo](http://www2.idevio.com/ravegeo-server.html)
* [What3Words](http://what3words.com/)
* [Photon](http://photon.komoot.de/)
* [Mapzen Search](https://mapzen.com/projects/search)
* [HERE Geocoder API] (https://developer.here.com/rest-apis/documentation/geocoder/topics/overview.html)
The plugin can easily be extended to support other providers.
The plugin can easily be extended to support other providers. Current extensions:
* [DAWA Geocoder](https://github.com/kjoller/leaflet-control-geocoder-dawa/tree/new) - support for Danish Address Web API by [Niels Kjøller Hansen](https://github.com/kjoller)
See the [Leaflet Control Geocoder Demo](http://perliedman.github.com/leaflet-control-geocoder/).
# Usage
Load the CSS and Javascript:
[Download latest release](https://github.com/perliedman/leaflet-control-geocoder/releases). Load the CSS and Javascript, located in
the `dist` folder:
```HTML
<link rel="stylesheet" href="../Control.Geocoder.css" />
<link rel="stylesheet" href="Control.Geocoder.css" />
<script src="Control.Geocoder.js"></script>
```
@@ -46,23 +52,27 @@ L.Control.geocoder().addTo(map);
# Customizing
By default, when a geocoding result is found, the control will center the map on it and place
a marker at its location. This can be customized by overwriting the control's ```markGeocode```
function, to perform any action desired.
a marker at its location. This can be customized by listening to the control's `markgeocode`
event. To remove the control's default handler for marking a result, set the option
`defaultMarkGeocode` to `false`.
For example:
```javascript
var geocoder = L.Control.geocoder().addTo(map);
geocoder.markGeocode = function(result) {
var bbox = result.bbox;
L.polygon([
bbox.getSouthEast(),
bbox.getNorthEast(),
bbox.getNorthWest(),
bbox.getSouthWest()
]).addTo(map);
};
var geocoder = L.Control.geocoder({
defaultMarkGeocode: false
})
.on('markgeocode', function(e) {
var bbox = e.geocode.bbox;
var poly = L.polygon([
bbox.getSouthEast(),
bbox.getNorthEast(),
bbox.getNorthWest(),
bbox.getSouthWest()
]).addTo(map);
map.fitBounds(poly.getBounds());
})
.addTo(map);
```
This will add a polygon representing the result's boundingbox when a result is selected.

25
assets/control-geocoder/bower.json Normal file → Executable file
View File

@@ -1,12 +1,17 @@
{
"name": "leaflet-control-geocoder",
"version": "1.1.0",
"version": "1.5.4",
"homepage": "https://github.com/perliedman/leaflet-control-geocoder",
"authors": [
"Per Liedman <per@liedman.net>"
],
"description": "Extendable geocoder with builtin OSM/Nominatim support",
"main": "Control.Geocoder.js",
"main": [
"Control.Geocoder.js",
"Control.Geocoder.css",
"images/geocoder.png",
"images/throbber.gif"
],
"moduleType": [
"amd",
"globals"
@@ -14,7 +19,16 @@
"keywords": [
"leaflet",
"geocoder",
"nominatim"
"locations",
"nominatim",
"bing",
"google",
"mapbox",
"photon",
"what3words",
"mapquest",
"mapzen",
"here"
],
"license": "BSD-2-Clause",
"ignore": [
@@ -23,8 +37,5 @@
"bower_components",
"test",
"tests"
],
"dependencies": {
"leaflet": "~0.7.2"
}
]
}

View File

@@ -1,10 +1,12 @@
{
"name": "leaflet-control-geocoder",
"version": "1.1.0",
"description": "Extendable geocoder with builtin OSM/Nominatim support",
"main": "Control.Geocoder.js",
"version": "1.5.4",
"description": "Extendable geocoder with builtin support for Nominatim, Bing, Google, Mapbox, Photon, What3Words, MapQuest, Mapzen, HERE",
"main": "dist/Control.Geocoder.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "sh ./scripts/build.sh",
"publish": "sh ./scripts/publish.sh",
"postpublish": "sh ./scripts/postpublish.sh"
},
"repository": {
"type": "git",
@@ -13,14 +15,30 @@
"keywords": [
"leaflet",
"geocoder",
"nominatim"
"locations",
"nominatim",
"bing",
"google",
"mapbox",
"photon",
"what3words",
"mapquest",
"mapzen",
"here"
],
"author": "Per Liedman <per@liedman.net>",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/perliedman/leaflet-control-geocoder/issues"
},
"dependencies": {
"leaflet": "~0.7.2"
"browserify-shim": {
"leaflet": "global:L"
},
"dependencies": {},
"devDependencies": {
"browserify": "^11.0.1",
"browserify-shim": "^3.8.10",
"derequire": "^2.0.3",
"es3ify": "^0.1.4"
}
}

View File

@@ -1,3 +1,12 @@
## 0.3.4
* From now on, the repository doesn't contain leaflet-omnivore.js or leaflet-omnivore.min.js. Those
files will be in the npm package and you can use unpkg.com to get them.
## 0.3.3
* Call either `setGeoJSON` or `addData` on GeoJSON layers, not both.
## 0.3.2
* Move `brfs` and `hintify` to dependencies.

View File

@@ -1,5 +1,3 @@
[![Build Status](https://travis-ci.org/mapbox/leaflet-omnivore.svg)](https://travis-ci.org/mapbox/leaflet-omnivore)
# leaflet-omnivore
![](https://farm8.staticflickr.com/7373/12376158164_e335b4e61d_b.jpg)
@@ -24,7 +22,7 @@ so you can specify what you want to add to the map with just a URL.
use it easily with the [Mapbox Plugins CDN](http://mapbox.com/mapbox.js/plugins/#leaflet-omnivore):
```html
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script>
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js'></script>
```
@@ -43,7 +41,7 @@ Live examples:
* [CSV](https://www.mapbox.com/mapbox.js/example/v1.0.0/markers-from-csv/)
```js
var map = L.mapbox.map('map', 'examples.map-9ijuk24y')
var map = L.mapbox.map('map', 'mapbox.streets')
.setView([38, -102.0], 5);
omnivore.csv('a.csv').addTo(map);

View File

@@ -1,5 +0,0 @@
{
"name": "leaflet-omnivore",
"version": "0.3.0",
"description": "a geospatial format parser for Leaflet"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,22 +1,26 @@
{
"name": "leaflet-omnivore",
"version": "0.3.2",
"version": "0.3.4",
"description": "a geospatial format parser for Leaflet",
"main": "index.js",
"scripts": {
"test": "zuul --local -- test/test.js",
"test-remote": "zuul -- test/test.js",
"test-headless": "zuul --phantom test/test.js",
"build": "browserify -s omnivore index.js > leaflet-omnivore.js && uglifyjs leaflet-omnivore.js -c -m > leaflet-omnivore.min.js"
"test-headless": "zuul --phantom -- test/test.js",
"prepublish": "browserify -s omnivore index.js > leaflet-omnivore.js && uglifyjs leaflet-omnivore.js -c -m > leaflet-omnivore.min.js"
},
"repository": {
"type": "git",
"url": "git@github.com:mapbox/leaflet-omnivore.git"
},
"files": [
"index.js",
"leaflet-omnivore.js",
"leaflet-omnivore.min.js"
],
"browserify": {
"transform": [
"brfs",
"hintify"
"brfs"
]
},
"keywords": [
@@ -38,30 +42,29 @@
"converter"
],
"author": "Tom MacWright",
"license": "BSD",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/mapbox/leaflet-omnivore/issues"
},
"homepage": "https://github.com/mapbox/leaflet-omnivore",
"dependencies": {
"csv2geojson": "~3.6.1",
"togeojson": "0.10.1",
"corslite": "0.0.6",
"wellknown": "0.3.0",
"hintify": "~0.1.0",
"brfs": "0.2.1",
"topojson": "1.6.8",
"polyline": "0.0.3"
"csv2geojson": "~5.0.0",
"togeojson": "0.13.0",
"corslite": "0.0.7",
"wellknown": "0.4.2",
"brfs": "1.4.3",
"topojson": "1.6.26",
"polyline": "0.2.0"
},
"devDependencies": {
"browserify": "7.0.2",
"tape": "2.4.2",
"uglify-js": "2.4.16",
"jshint": "2.5.0",
"mocha": "~1.20.1",
"zuul": "~1.7.0",
"st": "0.5.1",
"mapbox.js": "1.6.4",
"phantomjs": "~1.9.7-15"
"browserify": "13.0.1",
"tape": "4.5.1",
"uglify-js": "^2.6.2",
"jshint": "2.9.2",
"mocha": "~2.5.3",
"zuul": "~3.10.1",
"st": "1.1.0",
"mapbox.js": "2.4.0",
"phantomjs-prebuilt": "2.1.7"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -5,8 +5,8 @@
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-map-pane svg,
.leaflet-map-pane canvas,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
@@ -43,6 +43,7 @@
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer {
max-width: none !important;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -19,7 +19,8 @@
},
"require":{
"php":">=5.4",
"contao/core":"~3.5"
"contao-community-alliance/composer-plugin": "~2.4 | ~3.0",
"contao/core-bundle":"~3.5 | ~4.3"
},
"suggest": {
"netzmacht/contao-leaflet-maps": "Leaflet maps integration into Contao CMS"

View File

@@ -17,7 +17,7 @@
$GLOBALS['LEAFLET_LIBRARIES']['leaflet'] = array
(
'name' => 'Leaflet',
'version' => '1.0.1',
'version' => '1.0.2',
'license' => '<a href="https://github.com/Leaflet/Leaflet/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
'homepage' => 'http://leafletjs.com',
'css' => 'assets/leaflet/libs/leaflet/leaflet.min.css',
@@ -33,15 +33,6 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
'javascript' => 'assets/leaflet/libs/leaflet-providers/leaflet-providers.min.js'
);
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-omnivore'] = array
(
'name' => 'Leaflet-omnivore',
'version' => '0.3.2',
'license' => '<a href="https://github.com/mapbox/leaflet-omnivore/blob/master/LICENSE" target="_blank">BSD</a>',
'homepage' => 'https://github.com/mapbox/leaflet-omnivore',
'javascript' => 'assets/leaflet/libs/leaflet-omnivore/leaflet-omnivore.min.js'
);
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-markercluster'] = array
(
'name' => 'Leaflet.markercluster',
@@ -52,6 +43,15 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-markercluster'] = array
'javascript' => 'assets/leaflet/libs/leaflet-markercluster/leaflet.markercluster.js'
);
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-omnivore'] = array
(
'name' => 'Leaflet-omnivore',
'version' => '0.3.4',
'license' => '<a href="https://github.com/mapbox/leaflet-omnivore/blob/master/LICENSE" target="_blank">BSD</a>',
'homepage' => 'https://github.com/mapbox/leaflet-omnivore',
'javascript' => 'assets/leaflet/libs/leaflet-omnivore/leaflet-omnivore.min.js'
);
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-loading'] = array
(
'name' => 'Leaflet.loading',
@@ -75,7 +75,7 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-fullscreen'] = array
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-control-geocoder'] = array
(
'name' => 'Leaflet Control Geocoder',
'version' => '1.5.1',
'version' => '1.5.4',
'license' => '<a href="https://github.com/perliedman/leaflet-control-geocoder/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
'homepage' => 'https://github.com/perliedman/leaflet-control-geocoder',
'css' => 'assets/leaflet/libs/control-geocoder/Control.Geocoder.min.css',