leaflet providers
This commit is contained in:
parent
95a0f8974b
commit
0758614688
2
app.js
2
app.js
@ -3,6 +3,7 @@ require.config({
|
||||
paths: {
|
||||
"leaflet": "../bower_components/leaflet/dist/leaflet",
|
||||
"leaflet.label": "../bower_components/Leaflet.label/dist/leaflet.label",
|
||||
"leaflet.providers": "../bower_components/leaflet-providers/leaflet-providers",
|
||||
"chroma-js": "../bower_components/chroma-js/chroma.min",
|
||||
"moment": "../bower_components/moment/min/moment-with-locales.min",
|
||||
"tablesort": "../bower_components/tablesort/tablesort.min",
|
||||
@ -15,6 +16,7 @@ require.config({
|
||||
},
|
||||
shim: {
|
||||
"leaflet.label": ["leaflet"],
|
||||
"leaflet.providers": ["leaflet"],
|
||||
"tablesort": {
|
||||
exports: "Tablesort"
|
||||
},
|
||||
|
@ -22,7 +22,8 @@
|
||||
"d3": "~3.5.5",
|
||||
"numeraljs": "~1.5.3",
|
||||
"roboto-fontface": "~0.3.0",
|
||||
"virtual-dom": "~2.0.1"
|
||||
"virtual-dom": "~2.0.1",
|
||||
"leaflet-providers": "~1.0.27"
|
||||
},
|
||||
"authors": [
|
||||
"Nils Schneider <nils@nilsschneider.net>"
|
||||
|
@ -1,4 +1,5 @@
|
||||
define(["d3", "leaflet", "moment", "locationmarker", "leaflet.label"],
|
||||
define(["d3", "leaflet", "moment", "locationmarker", "leaflet.label",
|
||||
"leaflet.providers"],
|
||||
function (d3, L, moment, LocationMarker) {
|
||||
var options = { worldCopyJump: true,
|
||||
zoomControl: false
|
||||
|
Loading…
Reference in New Issue
Block a user