aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-05-22 11:25:43 +0100
committerChristopher Baines <mail@cbaines.net>2014-05-22 11:25:43 +0100
commit4dc7edc36b01a594b428d0c721697101c0f4b487 (patch)
tree5053f8b5f59181d862f60e4175f4a90fd8bca5d0
parentcb17d6bd556ca5cf879a9ff7a64785bcab57d703 (diff)
downloadleaflet-indoor-4dc7edc36b01a594b428d0c721697101c0f4b487.tar
leaflet-indoor-4dc7edc36b01a594b428d0c721697101c0f4b487.tar.gz
Minor formatting changes
-rw-r--r--leaflet-indoor.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/leaflet-indoor.js b/leaflet-indoor.js
index f31ecb2..5eb4c76 100644
--- a/leaflet-indoor.js
+++ b/leaflet-indoor.js
@@ -98,7 +98,10 @@ L.Indoor = L.Class.extend({
if (level in layers) {
layer = layers[level];
} else {
- layer = layers[level] = L.geoJson({ type: "FeatureCollection", features: [] }, options);
+ layer = layers[level] = L.geoJson({
+ type: "FeatureCollection",
+ features: []
+ }, options);
}
layer.addData(part);
@@ -107,7 +110,10 @@ L.Indoor = L.Class.extend({
if (level in layers) {
layer = layers[level];
} else {
- layer = layers[level] = L.geoJson({ type: "FeatureCollection", features: [] }, options);
+ layer = layers[level] = L.geoJson({
+ type: "FeatureCollection",
+ features: []
+ }, options);
}
layer.addData(part);