remove error from javascript file with L variable
This commit is contained in:
parent
c8baf0c280
commit
a9b001e762
7 changed files with 831 additions and 819 deletions
|
@ -1,3 +1,4 @@
|
|||
if (typeof L != 'undefined') {
|
||||
(function () {
|
||||
OSM = L.tileLayer("http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", {
|
||||
attribution: '© Openstreetmap France | © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
||||
|
@ -99,3 +100,4 @@
|
|||
}
|
||||
|
||||
}).call(this);
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
if (typeof L != 'undefined') {
|
||||
L.Control.EasyButtons = L.Control.extend({
|
||||
options: {
|
||||
position: 'topleft',
|
||||
|
@ -56,3 +57,4 @@ L.easyButton = function( btnIcon , btnFunction , btnTitle , btnMap , btnId) {
|
|||
}
|
||||
return newControl;
|
||||
};
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
if (typeof L != 'undefined') {
|
||||
L.PhotonBase = L.Class.extend({
|
||||
|
||||
forEach: function (els, callback) {
|
||||
|
@ -442,3 +443,4 @@ L.PhotonReverse = L.PhotonBase.extend({
|
|||
}
|
||||
|
||||
});
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
if (typeof L != 'undefined') {
|
||||
L.SpinMapMixin = {
|
||||
spin: function (state, options) {
|
||||
if (!!state) {
|
||||
|
@ -39,3 +40,4 @@ L.Map.addInitHook(function () {
|
|||
e.layer.off('data:loading');
|
||||
}, this);
|
||||
});
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,6 @@
|
|||
if (typeof L != 'undefined') {
|
||||
(function () {
|
||||
|
||||
API_URL = '//api-adresse.data.gouv.fr';
|
||||
|
||||
var showSearchPoints = function (geojson) {
|
||||
|
@ -264,3 +266,4 @@
|
|||
|
||||
|
||||
}).call(this);
|
||||
}
|
|
@ -16,6 +16,5 @@
|
|||
//= require_tree .
|
||||
//= require jquery
|
||||
//= require bootstrap-sprockets
|
||||
|
||||
//= require bootstrap-datepicker/core
|
||||
//= require bootstrap-datepicker/locales/bootstrap-datepicker.fr.js
|
Loading…
Reference in a new issue